Related Experiment Video
Updated: Jan 15, 2026

In Situ Soil Moisture Sensors in Undisturbed Soils
Published on: November 18, 2022
Prediction of soil fertility properties in Southern Brazil via proximal sensing
Stefan D Nachtigall1, Marcelo Mancini1, Renata A Reis1
1Universidade Federal de Lavras, Departamento de Ciência do Solo, Trevo Rotatório Professor Edmir Sá Santos, s/n, 37203-202 Lavras, MG, Brazil.
Abstract:
Although proximal sensing coupled with machine learning (ML) algorithms have been successful for characterizing soils, questions remain regarding their effectiveness under varied soil conditions. This study evaluated for the first time the efficiency of a portable X-ray fluorescence spectrometer (pXRF) to predict 17 soil fertility properties in Rio Grande do Sul (RS) state, Brazil, through ML algorithms. A total of 468 surface soil samples were analyzed by pXRF and by conventional (reference) methods. Six algorithms were employed: Projection Pursuit Regression, Partial Least Squares, Random Forest, Support Vector Machine, Extreme Gradient Boosting, and Cubist. Predictions accuracy was assessed using the coefficient of determination (R²), root mean square error, normalized root mean square error, residual prediction deviation (RPD) and Ratio of Performance to Interquartile Distance. Cubist and Random Forest outperformed other algorithms, reaching the following R² values: available/exchangeable Al (R² = 0.70), Ca (0.57), Mg (0.75), Mn (0.84), S (0.60), Cu (0.81), K (0.82), P (0.54), besides P-rem (0.80), H+Al (0.73), and total N (0.52). Predictions for organic carbon and available B, Fe, Na, Zn require further investigations. The pXRF combined with ML algorithms can accelerate decisions for agricultural management in RS state, Brazil, by optimizing soil analysis for improved crop management.

