IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v17y2025i16p7547-d1729308.html

Predicting Soil Fertility in Semi-Arid Agroecosystems Using Interpretable Machine Learning Models: A Sustainable Approach for Data-Sparse Regions

Author

Listed:
  • Nurullah Acir

    (Department of Soil Science and Plant Nutrition, Faculty of Agriculture, Kırşehir Ahi Evran University, Kırşehir 40100, Türkiye)

Abstract

The accurate assessment of soil fertility is critical for guiding nutrient management and promoting sustainable agriculture in semi-arid agroecosystems. In this study, a machine learning-based Soil Fertility Index (SFI) model was developed using regularized regression techniques to evaluate fertility across a dryland maize-growing region in southeastern Türkiye. A total of 64 composite soil samples were collected from the Batman Plain, characterized by alkaline and salinity-prone conditions. Five soil chemical indicators, electrical conductivity (EC), pH, organic matter (OM), zinc (Zn), and iron (Fe), were selected for SFI estimation using a standardized rating approach. The dataset was randomly split into training (80%) and test (20%) subsets to calibrate and validate the models. Ridge, Lasso, and Elastic Net regression models were employed to predict SFI and assess variable importance. Among these, the Lasso model achieved the highest predictive accuracy on test data (R 2 = 0.746, RMSE = 0.060), retaining only EC and Zn as significant predictors. Ridge and Elastic Net captured OM and pH, though their contributions were minimal (|β| < 0.01). Spatial predictions showed moderate alignment with observed SFI values (range: 0.48–0.76), but all models underestimated high-fertility zones (>0.69), likely due to coefficient shrinkage. Despite its simplicity, the Lasso model offered superior interpretability and spatial resolution. The results reveal the potential of interpretable machine learning for supporting sustainable, site-specific fertility assessment and informed nutrient management in data-scarce and environmentally vulnerable regions.

Suggested Citation

  • Nurullah Acir, 2025. "Predicting Soil Fertility in Semi-Arid Agroecosystems Using Interpretable Machine Learning Models: A Sustainable Approach for Data-Sparse Regions," Sustainability, MDPI, vol. 17(16), pages 1-22, August.
  • Handle: RePEc:gam:jsusta:v:17:y:2025:i:16:p:7547-:d:1729308
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/17/16/7547/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/17/16/7547/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Roozbeh, Mahdi, 2015. "Shrinkage ridge estimators in semiparametric regression models," Journal of Multivariate Analysis, Elsevier, vol. 136(C), pages 56-74.
    2. Sushil Thapa & Ammar Bhandari & Rajan Ghimire & Qingwu Xue & Fanson Kidwaro & Shirin Ghatrehsamani & Bijesh Maharjan & Mark Goodwin, 2021. "Managing Micronutrients for Improving Soil Fertility, Health, and Soybean Yield," Sustainability, MDPI, vol. 13(21), pages 1-15, October.
    3. Pavel Krasilnikov & Miguel Angel Taboada & Amanullah, 2022. "Fertilizer Use, Soil Health and Agricultural Sustainability," Agriculture, MDPI, vol. 12(4), pages 1-5, March.
    4. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    5. Xiaolin Jia & Yi Fang & Bifeng Hu & Baobao Yu & Yin Zhou, 2023. "Development of Soil Fertility Index Using Machine Learning and Visible-Near-Infrared Spectroscopy," Land, MDPI, vol. 12(12), pages 1-13, December.
    6. David Kabelka & Petr Konvalina & Marek Kopecký & Eva Klenotová & Jaroslav Šíma, 2025. "Assessment of Soil Organic Matter and Its Microbial Role in Selected Locations in the South Bohemia Region (Czech Republic)," Land, MDPI, vol. 14(1), pages 1-15, January.
    7. Tavjot Kaur & Simerpreet Kaur Sehgal & Satnam Singh & Sandeep Sharma & Salwinder Singh Dhaliwal & Vivek Sharma, 2021. "Assessment of Seasonal Variability in Soil Nutrients and Its Impact on Soil Quality under Different Land Use Systems of Lower Shiwalik Foothills of Himalaya, India," Sustainability, MDPI, vol. 13(3), pages 1-16, January.
    8. Anuj Saraswat & Shri Ram & Mohamed A. E. AbdelRahman & Md Basit Raza & Debasis Golui & Hombegowda HC & Pramod Lawate & Sonal Sharma & Amit Kumar Dash & Antonio Scopa & Mohammad Mahmudur Rahman, 2023. "Combining Fuzzy, Multicriteria and Mapping Techniques to Assess Soil Fertility for Agricultural Development: A Case Study of Firozabad District, Uttar Pradesh, India," Land, MDPI, vol. 12(4), pages 1-18, April.
    9. Ranjan Laik & Elsaffory Bakry Awad Eltahira & Biswajit Pramanick & Nidhi & Santosh Kumar Singh & Harold van Es, 2025. "Enhancing Soil Health in Rice Cultivation: Optimized Zn Application and Crop Residue Management in Calcareous Soils," Sustainability, MDPI, vol. 17(2), pages 1-20, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Tutz, Gerhard & Pößnecker, Wolfgang & Uhlmann, Lorenz, 2015. "Variable selection in general multinomial logit models," Computational Statistics & Data Analysis, Elsevier, vol. 82(C), pages 207-222.
    2. Viet Hoang Dinh & Didier Nibbering & Benjamin Wong, 2023. "Random Subspace Local Projections," CAMA Working Papers 2023-34, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    3. Hajime Shimao & Sung Joo Kim & Warut Khern-Am-Nuai & Maxime C. Cohen, 2025. "Revisiting the CEO Effect Through a Machine Learning Lens," Management Science, INFORMS, vol. 71(6), pages 5396-5408, June.
    4. Ernesto Carrella & Richard M. Bailey & Jens Koed Madsen, 2018. "Indirect inference through prediction," Papers 1807.01579, arXiv.org.
    5. Rui Wang & Naihua Xiu & Kim-Chuan Toh, 2021. "Subspace quadratic regularization method for group sparse multinomial logistic regression," Computational Optimization and Applications, Springer, vol. 79(3), pages 531-559, July.
    6. Mkhadri, Abdallah & Ouhourane, Mohamed, 2013. "An extended variable inclusion and shrinkage algorithm for correlated variables," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 631-644.
    7. Masakazu Higuchi & Mitsuteru Nakamura & Shuji Shinohara & Yasuhiro Omiya & Takeshi Takano & Daisuke Mizuguchi & Noriaki Sonota & Hiroyuki Toda & Taku Saito & Mirai So & Eiji Takayama & Hiroo Terashi &, 2022. "Detection of Major Depressive Disorder Based on a Combination of Voice Features: An Exploratory Approach," IJERPH, MDPI, vol. 19(18), pages 1-13, September.
    8. Jiangtao Qi & Panting Cheng & Junbo Zhou & Mengyi Zhang & Qin Gao & Peng He & Lujun Li & Francis Collins Muga & Li Guo, 2025. "A Novel Model for Soil Organic Matter and Total Nitrogen Detection Based on Visible/Shortwave Near-Infrared Spectroscopy," Land, MDPI, vol. 14(2), pages 1-23, February.
    9. Vincent, Martin & Hansen, Niels Richard, 2014. "Sparse group lasso and high dimensional multinomial classification," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 771-786.
    10. Jeremy Rubin & Fan Fan & Laura Barisoni & Andrew R. Janowczyk & Jarcy Zee, 2026. "Novel Scalar-on-matrix Regression for Unbalanced Feature Matrices," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 18(1), pages 192-213, March.
    11. Chen, Le-Yu & Lee, Sokbae, 2018. "Best subset binary prediction," Journal of Econometrics, Elsevier, vol. 206(1), pages 39-56.
    12. Álvarez-Liébana, J. & López-Pérez, A. & González-Manteiga, W. & Febrero-Bande, M., 2025. "A goodness-of-fit test for functional time series with applications to Ornstein-Uhlenbeck processes," Computational Statistics & Data Analysis, Elsevier, vol. 203(C).
    13. Perrot-Dockès Marie & Lévy-Leduc Céline & Chiquet Julien & Sansonnet Laure & Brégère Margaux & Étienne Marie-Pierre & Robin Stéphane & Genta-Jouve Grégory, 2018. "A variable selection approach in the multivariate linear model: an application to LC-MS metabolomics data," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 17(5), pages 1-14, October.
    14. Fan, Jianqing & Jiang, Bai & Sun, Qiang, 2022. "Bayesian factor-adjusted sparse regression," Journal of Econometrics, Elsevier, vol. 230(1), pages 3-19.
    15. Chuliá, Helena & Garrón, Ignacio & Uribe, Jorge M., 2024. "Daily growth at risk: Financial or real drivers? The answer is not always the same," International Journal of Forecasting, Elsevier, vol. 40(2), pages 762-776.
    16. Jun Li & Serguei Netessine & Sergei Koulayev, 2018. "Price to Compete … with Many: How to Identify Price Competition in High-Dimensional Space," Management Science, INFORMS, vol. 64(9), pages 4118-4136, September.
    17. Sung Jae Jun & Sokbae Lee, 2024. "Causal Inference Under Outcome-Based Sampling with Monotonicity Assumptions," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 42(3), pages 998-1009, July.
    18. Rina Friedberg & Julie Tibshirani & Susan Athey & Stefan Wager, 2018. "Local Linear Forests," Papers 1807.11408, arXiv.org, revised Sep 2020.
    19. Xiangwei Li & Thomas Delerue & Ben Schöttker & Bernd Holleczek & Eva Grill & Annette Peters & Melanie Waldenberger & Barbara Thorand & Hermann Brenner, 2022. "Derivation and validation of an epigenetic frailty risk score in population-based cohorts of older adults," Nature Communications, Nature, vol. 13(1), pages 1-11, December.
    20. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:17:y:2025:i:16:p:7547-:d:1729308. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.