A Comparative Study of Machine Learning Models for Soil Fertility Prediction Based on Soil Properties

Main Article Content

Walid Abdullah

Abstract

Soil fertility plays an important role in agricultural productivity, accurately predicting soil fertility based on elemental soil properties is essential for optimizing resource management and promoting sustainable farming practices. This study investigates the use of machine learning models to predict soil fertility from a dataset containing various elemental soil properties and several trace elements. The soil fertility is categorized into three classes: "Less Fertile," "Fertile," and "Highly Fertile." We evaluate the performance of each model using key metrics such as accuracy, precision, recall, and F1 score. Among the models tested, the Extra Trees classifier achieved the highest accuracy of 96.17%, followed by Random Forest and LightGBM with similar accuracies of 95.69% and 95.22% respectively. Our results indicate that ensemble models such as Extra Trees and Random Forest perform significantly better than other algorithms like SVM and SGD. These findings demonstrate the potential of machine learning to revolutionize soil fertility assessment, providing a scalable and effective tool for precision agriculture and sustainable soil management.

Downloads

Download data is not yet available.

Article Details

How to Cite
Abdullah, W. (2025). A Comparative Study of Machine Learning Models for Soil Fertility Prediction Based on Soil Properties. Optimization in Agriculture, 2, 1-9. https://doi.org/10.61356/j.oia.2025.2477
Section
Original Articles

How to Cite

Abdullah, W. (2025). A Comparative Study of Machine Learning Models for Soil Fertility Prediction Based on Soil Properties. Optimization in Agriculture, 2, 1-9. https://doi.org/10.61356/j.oia.2025.2477

Similar Articles

You may also start an advanced similarity search for this article.