Soil fertility prediction using random forest algorithm based on feature engineering
DOI:
https://doi.org/10.65322/ce.542026.86Keywords:
feature engineering, random forest, soil fertility, expert scoring system, precision agricultureAbstract
This article presents a soil fertility prediction model based on the Random Forest algorithm combined with feature engineering. Using the Crop Recommendation Dataset (2200 samples), a custom engineer() function was developed to generate 25 additional agronomically grounded derived features from five base soil parameters (30 features in total). A modelindependent expert scoring system (fertility_index) was designed to ensure objective comparison. Feature importance analysis revealed a significant contribution of the engineered ratio features to model accuracy.
References
Blum W.E.H. Soil Resources — The basis of human society and the environment // Bodenkultur. — 2006. — Vol. 57. — P. 197-202.
Padarian J., Minasny B., McBratney A.B. Using deep learning to predict soil properties from regional spectral data // Geoderma Regional. — 2019. — Vol. 16. — e00198.
Nguyen T.T., Pham T.D., Nguyen C.T. et al. A novel intelligence approach based active and ensemble learning for agricultural soil organic carbon prediction using multispectral and SAR data fusion // Science of the Total Environment. — 2022. — Vol. 804. — 150187.
Wadoux A.M.J.-C., Minasny B., McBratney A.B. Machine learning for digital soil mapping: Applications, challenges and suggested solutions // Earth-Science Reviews. — 2020. — Vol. 210. — 103359.
Khaledian Y., Miller B.A. Selecting appropriate machine learning methods for digital soil mapping // Applied Mathematical Modelling. — 2020. — Vol. 81. — P. 401-418.
Folorunso O., Ojo O., Busari M. et al. Exploring Machine Learning Models for Soil Nutrient Properties Prediction: A Systematic Review // Big Data and Cognitive Computing. — 2023. — Vol. 7, № 2. — 113.
Galkin A.I. Primenenie metodov mashinnogo obucheniya i analiza bolshix dannyx v tochnom zemledelii // Agrarnaya nauka. — 2025. — № 5. — S. 171-174.
Makeev K.A., Grecheneva A.V., Kotov Ya.S. va b. Sravnenie effektivnosti algoritmov mashinnogo obucheniya v zadachax prognozirovaniya urojaynosti selskoxozyaystvennyx kultur // Izvestiya TulGU. Texnicheskie nauki. — 2023. — Vyp. 2. — S. 203-206.
Breiman L. Random Forests // Machine Learning. — 2001. — Vol. 45, № 1. — P. 5-32.
Cutler A., Cutler D.R., Stevens J.R. Random Forests // Ensemble Machine Learning / eds. Zhang C., Ma Y. — Boston, MA: Springer, 2012. — P. 157-175.
Liaw A., Wiener M. Classification and Regression by randomForest // R News. — 2002. — Vol. 2, № 3. — P. 18-22.