A novel methodological framework for predicting and mapping agriculture-related soil attributes using Euclidean distance, regular grids, and machine learning algorithms
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.
Authors
- Danilo César de Mello (ORCID: https://orcid.org/0000-0002-5398-9313)
- Cristiano Marcelo Pereira de Souza (ORCID: https://orcid.org/0000-0001-7692-1613)
- Gustavo Vieira Veloso (ORCID: https://orcid.org/0000-0002-9451-2714)
- Maurício Rizzato Coelho (ORCID: https://orcid.org/0000-0002-0060-386X)
- Mário Marcos Espírito Santo
- Gustavo Mattos Vasques
- Elpídio Inácio Fernandes-Filho
- Lucas Augusto Pereira da Silva
- José A. M. Demattê
Institutions
- Universidade Estadual da Paraíba (BR)
- Universidade Federal de Viçosa (BR)
- Universidade de São Paulo (BR)
- Brazilian Agricultural Research Corporation (BR)
- Forest Science and Research Institute (BR)
- Universidade Estadual de Montes Claros (BR)
- Universidade Federal do Vale do São Francisco (BR)
Publication Details
- Journal
- PLoS ONE
- Published
- 2026-05-11
- DOI
- https://doi.org/10.1371/journal.pone.0343624
- Primary Topic
- Soil Geostatistics and Mapping
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Fundação de Amparo à Pesquisa do Estado de São Paulo
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico