Application of Raman Spectroscopy-Driven Multi-Model Ensemble Modeling in Soil Nutrient Prediction
Xiuquan Zhang,
Juanling Wang (),
Zhiwei Li,
Haiyan Song and
Decong Zheng
Additional contact information
Xiuquan Zhang: College of Agricultural Engineering, Shanxi Agricultural University, Jinzhong 030801, China
Juanling Wang: Shanxi Institute of Organic Dryland Farming, Shanxi Agricultural University, Key Laboratory of Sustainable Dryland Agriculture of Shanxi Province, Taiyuan 030001, China
Zhiwei Li: College of Information Science and Engineering, Shanxi Agricultural University, Jinzhong 030801, China
Haiyan Song: College of Agricultural Engineering, Shanxi Agricultural University, Jinzhong 030801, China
Decong Zheng: College of Agricultural Engineering, Shanxi Agricultural University, Jinzhong 030801, China
Agriculture, 2025, vol. 15, issue 17, 1-28
Abstract:
Rapid and non-destructive acquisition of soil nutrient information is crucial for precision fertilization and soil quality monitoring. This study aims to establish a Raman spectroscopy-based framework for predicting key soil fertility indicators, including alkali-hydrolyzable nitrogen (AN), total nitrogen (TN), total phosphorus (TP), and organic matter (OM). The framework systematically integrates three typical spectral preprocessing methods (Standard Normal Variate transformation (SNV), Savitzky–Golay first derivative (SG_D1), and wavelet transform (Wavelet)), three feature selection strategies (Recursive Feature Elimination, XGBoost importance, and Random Forest importance), and 14 mainstream regression models to construct a multi-combination modeling system. Model performance was evaluated using five-fold cross-validation, with 80% of samples used for training and 20% for validation in each fold. Preprocessed Raman spectral features served as input variables, while the corresponding nutrient contents were used as outputs. Results showed significant differences in prediction performance across various combinations of preprocessing methods and regression algorithms for the four soil nutrient indicators. For AN prediction, the combination of Raw_SNV preprocessing with ElasticNet and BayesianRidge models achieved the best performance, with Test R 2 values of 0.713 and 0.721, and corresponding Test NRMSE as low as 0.092. For OM prediction, the same Raw_SNV preprocessing with ElasticNet and BayesianRidge also performed well, yielding Test R 2 values of 0.825 and 0.832, and Test NRMSE of 0.100 and 0.098, respectively. In TN prediction, both ElasticNet and BayesianRidge under Raw_SNV preprocessing achieved consistent Test R 2 of 0.74 and Test NRMSE around 0.20, indicating stable reliability. For TP prediction, the BayesianRidge model with Raw_SNV preprocessing outperformed all others with a Test R 2 of 0.71 and Test NRMSE of just 0.089, followed closely by ElasticNet (Test R 2 = 0.70, Test NRMSE = 0.092). Overall, the Raw_SNV preprocessing method demonstrated superior performance compared to SG_D1_SNV and Wavelet_SNV. Both BayesianRidge and ElasticNet consistently achieved high R 2 and low NRMSE across multiple targets, showcasing strong generalization and robustness, making them optimal model choices for Raman spectroscopy-based soil nutrient prediction. This study demonstrates that Raman spectroscopy, when combined with appropriate preprocessing and modeling techniques, can effectively predict soil organic matter and nitrogen in specific soil types under laboratory conditions. These results provide initial methodological insights for future development of intelligent soil nutrient diagnostics.
Keywords: raman spectroscopy; soil nutrients; Standard Normal Variate (SNV); Recursive Feature Elimination (RFE); ElasticNet; 5-fold cross-validation (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/15/17/1901/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/17/1901/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:17:p:1901-:d:1744428
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().