IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0343624.html

A novel methodological framework for predicting and mapping agriculture-related soil attributes using Euclidean distance, regular grids, and machine learning algorithms

Author

Listed:
  • Gustavo Vieira Veloso
  • Danilo César de Mello
  • Elpídio Inácio Fernandes-Filho
  • Cristiano Marcelo Pereira de Souza
  • Lucas Augusto Pereira da Silva
  • Mario Marcos Espirito Santo
  • Gustavo Mattos Vasques
  • Maurício Rizzato Coelho
  • José A M Demattê

Abstract

Recent advances in statistical and machine learning (ML) methods have improved the prediction of soil attributes at fine spatial scales, yet the comparative performance and reliability of these techniques remain unclear. This study compared Ordinary Kriging (OK), Inverse Distance Weighting (IDW), and ML algorithms in predicting and spatializing soil attributes, while also evaluating prediction uncertainty and computational processing time. Conducted in Minas Gerais State (Brazil), the analysis used Euclidean distance based predictors derived from X-Y coordinates and regular grids with 5, 7, and 10 divisions. Soil attribute maps (CEC, phosphorus, sand, and clay) were generated using OK, IDW, Random Forest (RF), Cubist, Support Vector Machine (SVM), and Earth. Model performance was assessed using R2, RMSE, MAE, and the coefficient of variation. IDW and OK showed the lowest predictive accuracy (R2 = 0.52–0.58), whereas ML methods, especially RF and SVM achieved superior performance (R2 = 0.62–0.70). Among ML algorithms, Earth performed worst, while RF produced the highest accuracy for all attributes except sand, for which SVM performed best. Processing time was shortest for IDW, followed by OK; among ML models, Earth was fastest, followed by RF, SVM, and Cubist. Larger regular grids improved ML prediction and spatialization but increased computational cost. ML methods thus outperform traditional geostatistical interpolators, benefiting from the use of numerous covariates and flexible algorithmic structures, although requiring greater computational time. These findings demonstrate the robustness and practical potential of ML approaches for soil attribute mapping.

Suggested Citation

  • Gustavo Vieira Veloso & Danilo César de Mello & Elpídio Inácio Fernandes-Filho & Cristiano Marcelo Pereira de Souza & Lucas Augusto Pereira da Silva & Mario Marcos Espirito Santo & Gustavo Mattos Vasq, 2026. "A novel methodological framework for predicting and mapping agriculture-related soil attributes using Euclidean distance, regular grids, and machine learning algorithms," PLOS ONE, Public Library of Science, vol. 21(5), pages 1-31, May.
  • Handle: RePEc:plo:pone00:0343624
    DOI: 10.1371/journal.pone.0343624
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0343624
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0343624&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0343624?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Max Kuhn & Kjell Johnson, 2013. "Applied Predictive Modeling," Springer Books, Springer, number 978-1-4614-6849-3, January.
    2. Katarzyna Kopczewska, 2022. "Spatial machine learning: new opportunities for regional science," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 68(3), pages 713-755, June.
    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. Feng Shi & Weiwei Cao & Runhua Huang & Wei Geng, 2025. "Spatially heterogeneous drivers of hukou transfer intentions in China: a geographically weighted logistic regression analysis," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 74(2), pages 1-30, June.
    2. Chiodin, Alessio & Manera, Matteo & Maranzano, Paolo & Monturano, Gianluca, 2026. "Identifying Spatial Regimes of Economic Fragility through Spatially Constrained Clustering: Evidence from Italian Municipalities," FEEM Working Papers 396373, Fondazione Eni Enrico Mattei (FEEM).
    3. Brian H. S. Kim & Martin Andersson & Janet Kohlhase, 2024. "Reflecting on a dynamic biennium: The Annals of Regional Science 2022–2023," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 72(3), pages 683-690, March.
    4. Md. Salman & Mou Rani Sarker & Md. Asifur Rahman & Andrew M. McKenzie & Md Abdur Rouf Sarkar, 2026. "Breaking the Regional Barriers: Identifying Determinants of Antenatal Care Access in Bangladesh for Improved Maternal Health Policy," Sustainable Development, John Wiley & Sons, Ltd., vol. 34(2), pages 2925-2962, April.
    5. Roy Cerqueti & Antonio Iovanella & Raffaele Mattera, 2024. "Clustering networked funded European research activities through rank-size laws," Annals of Operations Research, Springer, vol. 342(3), pages 1707-1735, November.
    6. Fernando López & Konstatin Kholodilin, 2023. "Putting MARS into space. Non‐linearities and spatial effects in hedonic models," Papers in Regional Science, Wiley Blackwell, vol. 102(4), pages 871-896, August.
    7. Abdullah S. Al-Jawarneh & Ahmed R. M. Alsayed & Heba N. Ayyoub & Mohd Tahir Ismail & Siok Kun Sek & Kivanç Halil Ariç & Giancarlo Manzi, 2024. "Enhancing Model Selection by Obtaining Optimal Tuning Parameters in Elastic-Net Quantile Regression, Application to Crude Oil Prices," JRFM, MDPI, vol. 17(8), pages 1-19, July.
    8. Katarzyna Kopczewska, 2023. "Spatial bootstrapped microeconometrics: Forecasting for out‐of‐sample geo‐locations in big data," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 50(3), pages 1391-1419, September.
    9. Aditi Nautiyal & Amit Kumar Mishra, 2025. "Machine learning approach for intelligent prediction of petroleum upstream stuck pipe challenge in oil and gas industry," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 27(10), pages 24167-24193, October.
    10. Kevin Credit, 2024. "Introduction to the special issue on spatial machine learning," Journal of Geographical Systems, Springer, vol. 26(4), pages 451-460, October.
    11. Hans Genberg & Özer Karagedikli, 2021. "Machine Learning and Central Banks: Ready for Prime Time?," Working Papers wp43, South East Asian Central Banks (SEACEN) Research and Training Centre.
    12. Deslatte, Aaron & Scott, Tyler A. & Carter, David P., 2019. "Specialized governance and regional land-use outcomes: A spatial analysis of Florida community development districts," Land Use Policy, Elsevier, vol. 83(C), pages 227-239.
    13. Marina Romeo & Montserrat Yepes-Baldó & Josep Pascual, 2025. "Understanding Gendered Employment Dynamics: Demographic Profiles and Characteristics of Individuals With Disabilities in Spain," SAGE Open, , vol. 15(4), pages 21582440251, November.
    14. Adamecz-Völgyi, Anna & Henderson, Morag & Shure, Nikki, 2020. "Is ‘first in family’ a good indicator for widening university participation?," Economics of Education Review, Elsevier, vol. 78(C).
    15. Kawrani, Sara & Abi Almona, Ossama & Ibrahim, Mira & Ibrahim, Moustafa & Obeid, Emil, 2026. "A comprehensive review of green hydrogen production via electrolysis and thermolysis, and the prediction of potential natural hydrogen (aka gold hydrogen) presence using machine learning," Renewable and Sustainable Energy Reviews, Elsevier, vol. 230(C).
    16. Samu, Remember & Calais, Martina & Shafiullah, G.M. & Moghbel, Moayed & Shoeb, Md Asaduzzaman & Nouri, Bijan & Blum, Niklas, 2021. "Applications for solar irradiance nowcasting in the control of microgrids: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 147(C).
    17. Paul Praveen Kumar Ashok, 2020. "Advanced Data Modeling Techniques in Power BI for Enterprise Analytics," International Journal of Computing and Engineering, CARI Journals Limited, vol. 1(2), pages 32-42.
    18. Renato P. Colistete, 2021. "Predicting Skills of Runaway Slaves in Sao Paulo, 1854-1887," Working Papers, Department of Economics 2021_15, University of São Paulo (FEA-USP), revised 23 Apr 2021.
    19. Sha, Xiaowen & Su, Miao, 2026. "Ownership, regulation, and ESG in transport and logistics: Insights for policy from explainable machine learning," Transport Policy, Elsevier, vol. 178(C).
    20. John I. Carruthers & Hanxue Wei, 2024. "What drives urban redevelopment activity? Evidence from machine learning and econometric analysis in three American cities," Journal of Geographical Systems, Springer, vol. 26(4), pages 565-599, October.

    More about this item

    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:plo:pone00:0343624. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.