We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Electrical Engineering/Application of random forest and hierarchical clustering models for crop and fertilizer recommendation to farmers
PeriodicalsElectrical Engineering

Application of random forest and hierarchical clustering models for crop and fertilizer recommendation to farmers

Checking your access to this record.

Abstract & Overview

Specific recommendations of crop and fertilizer are two critical parts of developing effective agricultural and food policies in Nigeria and other parts of the world. One of the main problems that has negatively affected crop production is the depletion of soil nutrients. Hence maintaining soil nutrients has become a significant concern for farmers. Although fertilizers can be applied manually to increase crop production, it is not optimal since different crops in different fields require different amounts of fertilizer due to soil types, soil fertility levels, and nutrient needs. To effectively and efficiently improve and maintain soil fertility, it is necessary to replace the traditional trial and error method of Nitrogen (N) Potassium (P) and Phosphorus (K) variation at different ratios on untested soils (which most times leads to poor crop yield) with soil testing and fertilizer recommendation using data mining algorithms. This study developed a model to recommend crop and fertilizer using two machine learning algorithms. The RF algorithm, which has shown high level of accuracy in many different agricultural applications, is used for recommending crops, while the hierarchical Clustering algorithm is used for fertilizer recommendation. The models used Crop nutrient requirement and soil sample data for training and testing. The RF and hierarchical algorithm were trained to recommend crop and fertilizer on the basis of multiple biophysical variables and soil nutrients. The system was found effective in recommending crop and fertilizer with an accuracy of 99.70%. The results showed that the model performed effectively and it is versatile machine-learning model for recommending crop and fertilizer due to the high accuracy and precision values. This research pointed out various steps in which a crop and fertilizer recommendation system was achieved using a random forest and hierarchical Clustering algorithms.

Cite this record

S.S. Nandom, G.T. Abe, I.P. Gambo (2025). Application of random forest and hierarchical clustering models for crop and fertilizer recommendation to farmers. Nigerian Journal of Technology, 44(1), 114–122. https://doi.org/10.4314/njt.v44i1.13

Copy in another style

Nandom, S., Abe, G., & Gambo, I. (2025). Application of random forest and hierarchical clustering models for crop and fertilizer recommendation to farmers. Nigerian Journal of Technology, 44(1), 114–122. https://doi.org/10.4314/njt.v44i1.13
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.