EventsThe 3rd International Online Conference on Agriculture
Published
This submission belongs to the session S6. Smart Farming: From Sensor to Artificial Intelligence of the event The 3rd International Online Conference on Agriculture
Published date
20 Oct, 2025
Academic Editor
author-avatarSanzidur Rahman
Citation
Shreya Singh, Machine Learning for Soil Fertility Assessment: A Comprehensive Study, in Proceedings of The 3rd International Online Conference on Agriculture, 22 October–24 October 2025, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

Machine Learning for Soil Fertility Assessment: A Comprehensive Study

image
1. Ramlalit Singh Mahavidyalaya, Uttar Pradesh, India, India
Abstract

Geographical, environmental, and meteorological factors have a significant impact on soil, which is referred to as Earth's skin. Mineral and nutrient content is crucial for controlling the ecosystem's core dynamics. Crop yield is aided by soil fertilization activities. However, a smaller crop output volume may result in the amount of soil composition (fertilizer) failing to be regulated and kept constant. Advancements to help avoid lower crop quality and production to control the amount of soil fertilizer, in addition to improving fertilization and plant growth and soil nutrient monitoring, are crucial. Instructive soil parameters to ascertain soil fertility, calcium, phosphorus, and pH are therefore among the parameters that are frequently measured to monitor soil fertility. The grading of soil and prediction of crops that are suitable for specific land areas can be achieved using a machine learning-based method for the examination of key soil attributes. The high demand for laboratory-based analyses of soil fertility has led us to devise a quick, easy, and affordable method for assessing soil fertility. Portable X-ray fluorescence (pXRF) spectrometry determines the total elemental concentration in soils quickly, easily, and without producing hazardous waste, but its use for predicting soil fertility properties in tropical conditions is still in its infancy. It uses supervised machine learning algorithms like decision trees, K-Nearest Neighbor (KNN), and Support Vector Machine (SVM) to predict soil fertility based on the macronutrient and micronutrient status information found in datasets. R Tool is used to create supervised machine learning algorithms, which are then tested on the test dataset and applied to the training dataset. Several assessment criteria, such as accuracy, cross-validation, and mean absolute error, are used to analyze the performance of these algorithms. Analysis of the results reveals that decision tree has the lowest mean square error (MSE) rate and the highest accuracy of 99%. With less waste production and lower expenses, this environmentally friendly approach can be applied to the evaluation of soil fertility characteristics in a variety of tropical and subtropical soil types.

Keywords
Machine Learning
Soil Fertility
Portable X-Ray Fluorescence
Spectrometry
Agricultural Informatics
Zeolite and attapoulgite foliar applications improve the photosynthetic performance of ‘Muscat Hamburg’ grapevines
Vacuum Infiltration Enables Efficient Transient T-DNA Delivery in Oil Palm (Elaeis guineensis) Seedlings: A Pilot Study