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.
    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. Alessia Benevento & Fabrizio Durante & Roberta Pappadà, 2025. "Comonotonic‐Based Time Series Clustering With Constraints: A Review and a Conceptual Framework," Environmetrics, John Wiley & Sons, Ltd., vol. 36(8), December.
    2. 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.
    3. 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).
    4. Barone, Guglielmo & Letta, Marco, 2025. "Unlevel playing field? Machine learning meets state aid regulation," International Journal of Industrial Organization, Elsevier, vol. 101(C).
    5. 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.
    6. Harald Hruschka, 2026. "Analyzing market basket data through sparse multivariate logit models," Journal of Marketing Analytics, Palgrave Macmillan, vol. 14(1), pages 104-119, March.
    7. 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.
    8. 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.
    9. Celbiş, Mehmet Güney & Bouzouina, Louafi, 2025. "To what extent walking and biking are substitutes or complements to public transport? Interpretable machine learning findings from the University of Lyon, France," Journal of Transport Geography, Elsevier, vol. 123(C).
    10. 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.
    11. 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.
    12. 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.
    13. Yves Staudt & Joël Wagner, 2021. "Assessing the Performance of Random Forests for Modeling Claim Severity in Collision Car Insurance," Risks, MDPI, vol. 9(3), pages 1-28, March.
    14. 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.
    15. R. L. Manogna & Ashray Kashyap & Samyak Sanat Jain, 2025. "Is there a universal fit? Employing machine learning to investigate the diversity and prominence of factors influencing early-stage entrepreneurship," Journal of Innovation and Entrepreneurship, Springer, vol. 14(1), pages 1-26, December.
    16. Kevin Credit, 2024. "Introduction to the special issue on spatial machine learning," Journal of Geographical Systems, Springer, vol. 26(4), pages 451-460, October.
    17. 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.
    18. Rodrigo García Arancibia & Pamela Llop & Mariel Lovatto, 2023. "Nonparametric prediction for univariate spatial data: Methods and applications," Papers in Regional Science, Wiley Blackwell, vol. 102(3), pages 635-672, June.
    19. Rahul Kumar & Rahul Thakurta, 2025. "Classifying DSS Research – A Theoretical Framework," Information Systems Frontiers, Springer, vol. 27(5), pages 1759-1788, October.
    20. Maria Kubara, 2024. "Spatiotemporal localisation patterns of technological startups: the case for recurrent neural networks in predicting urban startup clusters," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 72(3), pages 797-829, March.

    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.