Enhancing Soil Fertility Prediction Using Stacking Ensemble of Machine Learning Models

PDF (819KB), PP.42-56

Views: 0 Downloads: 0

Author(s)

Gyankamal Chhajed 1,* Samina Mulani 2

1. Department of Computer Engineering, Vidya Pratishthan’s Kamalnayan Bajaj Institute of Engineering and Technology, Baramati, 413133, SPPU, Pune University, Maharashtra, India

2. Department of Computer Engineering, Vidya Pratishthan’s Kamalnayan Bajaj Institute of Engineering and Technology, Baramati,413133, SPPU, Pune University, Maharashtra, India

* Corresponding author.

DOI: https://doi.org/10.5815/ijem.2026.06.03

Received: 3 Jun. 2026 / Revised: 15 Aug. 2026 / Accepted: 5 Sep. 2026 / Published: 8 Dec. 2026

Index Terms

Agricultural Soil, Precision Agriculture, Predictive Modeling, Soil Nutrients

Abstract

Soil fertility constitutes a key factor in influencing the precise prediction of soil fertility classes, as well as agricultural productivity is important for optimizing agricultural practices. Classical soil fertility assessment methods are often labor intensive and costly. Machine learning based approaches are therefore an attractive alternative for improving efficiency. In this research, a novel method is introduced as a stacking ensemble method for soil fertility classification, which combines models. Each individual model is trained separately and their forecasts are combined through a meta-model in order to improve categorization ability. Unlike traditional single-model approaches, the effectiveness of the ensemble method compared to individual models is assessed using classification metrics like F-1 measure, accuracy, sensitivity. The stacking ensemble outperforms the individual models demonstrating improved robustness and predictive reliability over existing techniques highlighting its potential for providing more robust and reliable soil fertility predictions. Compared to the previous approach, this method provides more stable performance across fluctuations in nutrient levels and pH. This approach shows promising applications in precision agriculture, offering improved decision-making for soil management. Future studies aimed at improving performance could integrate data input such as sensor data.

Cite This Paper

Gyankamal Chhajed, Samina Mulani, "Enhancing Soil Fertility Prediction Using Stacking Ensemble of Machine Learning Models", International Journal of Engineering and Manufacturing (IJEM), Vol.16, No.6, pp.42-56, 2026. DOI:10.5815/ijem.2026.06.03

Reference

[1]Yaganteeswarudu Akkem, Saroj Kumar Biswas, Aruna Varanasi, "Role of Explainable AI in Crop Recommendation Technique of Smart Farming", International Journal of Intelligent Systems and Applications, Vol.17, No.1, pp.31-52, 2025. 
[2]Senna Pacci, Orhan Dengiz,Pelin Alaboz,,Fikret Saygin, "Artificial Neural Networks in Soil Quality Prediction: Significance for Sustainable Tea Cultivation". Science of the Total Environment, Vol.947, No., pp.174447, 2024. DOI:10.1016/j.scitotenv.2024.174447
[3]Vidhya Shanmugam, Ramanathan Rajalakshmi, Mukesh C., "Soil Nutrient Analysis for the Cultivation of Plants Using Machine Learning Algorithms", 2023 7th International Conference on Intelligent Computing and Control Systems (ICICCS), May 2023, DOI:10.1109/ICICCS56967.2023.10142689 
[4]Mohammad Asif, Abdul Wahid, "Leveraging Machine Learning for Soil Fertility Prediction and Crop Management in Agriculture", preprint Research Square, pp.1-15, 2024, DOI:10.21203/rs.3.rs-4310747/v1 
[5]Sk Al Zaminur Rahman, Kaushik Chandra Mitra, S.M. Mohidul Islam, "Soil Classification Using Machine Learning Methods and Crop Suggestion Based on Soil Series", 2018 21st International Conference of Computer and Information Technology (ICCIT), pp.1-4, 2018, DOI:10.1109/ICCITECHN.2018.8631943
[6]Tanuja K. Fegade, Bhausaheb Vyankatrao Pawar, "Crop Prediction Using Artificial Neural Network and Support Vector Machine", Data Management, Analytics and Innovation, Proceedings of ICDMAI 2019, Vol.2, pp.311–324, 2019, DOI:10.1007/978-981-13-9364-8_23
[7]T. Swathi, S. Sudha, "Crop classification and prediction based on soil nutrition using machine learning methods", International Journal of Information Technology, Vol.15, No.6, pp.2951–2960, 2023, DOI:10.1007/s41870-023-01345-0
[8]Vuong M. Ngo, Van Duong Thi Thuy, Bao-Thien Nguyen-Tat, Cach N. Dang, "A Big Data Smart Agricultural System: Recommending Optimum Fertilisers for Crops", International Journal of Information Technology, Vol. 15, No. 14, 2023. DOI:10.1007/s41870-022-01150-1
[9]Muhammad Awais, Syed Muhammad Zaigham Abbas Naqvi, Hao Zhang, Linze Li, Wei Zhang, Fuad A. Awwad, Emad A. A. Ismail, M. Ijaz Khan, Vijaya Raghavan, Jiandong Hu, "AI and Machine Learning for Soil Analysis: An Assessment of Sustainable Agricultural Practices", Bioresources and Bioprocessing, Vol.10, No.90, pp.2-16, 2023. DOI:10.1186/s40643-023-00710-y
[10]Iti Sharma, Nimish Kumar, Himanshu Verma, "Deep learning-based soil nutrient content prediction for crop yield estimation" In Futuristic e-Governance Security With Deep Learning Applications, pp. 85-111,2023
[11]Shraban Kumar Apat, Jyotirmaya Mishra, Neelamadhab Padhy, Srujan Kotagiri Raju, "An Artificial Intelligence-based Crop Recommendation System using Machine Learning". Journal of Scientific, Industrial Research, Vol.82, No.05, pp.558–567, 2023. DOI:10.56042/jsir.v82i05.1092
[12]Karman Kaur, "Artificial neural network model to forecast energy consumption in wheat production in India". Journal of Statistical Theory and Applications Vol.22, No., pp. 19–37, 2023. DOI:10.1007/s44199-023-00052-w
[13]P. Latha, P. Kumaresan, "Deep learning for soil nutrient prediction and strategic crop recommendations: An analytic perspective". Nature Environment and Pollution Technology, Vol.24, No.01, 2025. DOI:10.46488/NEPT.2025.v24i01.B4205
[14]Biplob Dey, Jannatul Ferdous, Romel Ahmed, "Machine learning based recommendation of agricultural and horticultural crop farming in India under the regime of NPK, soil pH and three climatic variables", Heliyon,Vol.10,No.3,pp.e25112,2024.DOI:10.1016/j.heliyon.2024.e25112.
[15]Madhumathi, R., Kumar, A. K., Kumar, C. N., Dhyanesh, A., & Arumuganathan, T. "Soil nutrient prediction and crop recommendation system". In Proceedings of the 2023 International Conference on Circuit Power and Computing Technologies (ICCPCT), pp. 1–5,2024. IEEE. DOI:10.1109/ICCPCT58313.2023.10245685
[16]Lata, K., Khan, S. "Crop Yield Prediction by Hybrid Technique with crop datasets " ADBU-Journal of Engineering Technology, Vol. 10, No. 4, 2021, Article ID: 0100402112.
[17]Usharani Bhimavarapu, Gopi Battineni, Nalini Chintalapudi, " Improved optimization algorithm in LSTM to predict crop yield Computers, Vol.12, No.1, pp.10, 2023. DOI:10.3390/computers12010010
[18]Pritesh Ashok Patil, Pranav Athavale, Manas Bothara, Siddhi Tambolkar, "Crop Selection and Yield Prediction using Machine Learning Approach", Current Agriculture Research Journal, Vol. 11, No. 3, pp. 968–980, 2023. DOI:10.12944/CARJ.11.3.26
[19]Singha, C., Swain, K. C., Sahoo, S., Govind, A. “Prediction of soil nutrients through PLSR and SVMR models by VIs-NIR reflectance spectroscopy". The Egyptian Journal of Remote Sensing and Space Sciences, Vol.26, N0.4, pp.901-918,2023. DOI:10.1016/j.ejrs.2023.10.005
[20]Kalmani H. Vijay, Dharwadkar V. Nagaraj, Thapa Vijay, “Crop Yield Prediction using Deep Learning Algorithm based on CNN-LSTM with Attention Layer and Skip Connection”, Indian Journal of Agricultural Research. Vol.59,N o.8, pp. 1303-1311, 2025, DOI: 10.18805/IJARe.A-6300.