IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2025i17p1901-d1744428.html
   My bibliography  Save this article

Application of Raman Spectroscopy-Driven Multi-Model Ensemble Modeling in Soil Nutrient Prediction

Author

Listed:
  • 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)

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.

Suggested Citation

  • Xiuquan Zhang & Juanling Wang & Zhiwei Li & Haiyan Song & Decong Zheng, 2025. "Application of Raman Spectroscopy-Driven Multi-Model Ensemble Modeling in Soil Nutrient Prediction," Agriculture, MDPI, vol. 15(17), pages 1-28, September.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:17:p:1901-:d:1744428
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/17/1901/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/17/1901/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Xuchao Jiao & Hui Liu & Weimu Wang & Jiaojiao Zhu & Hao Wang, 2024. "Estimation of Surface Soil Nutrient Content in Mountainous Citrus Orchards Based on Hyperspectral Data," Agriculture, MDPI, vol. 14(6), pages 1-21, May.
    2. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    3. Hui Zou & Trevor Hastie, 2005. "Addendum: Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(5), pages 768-768, November.
    4. Hui Zou & Trevor Hastie, 2005. "Regularization and variable selection via the elastic net," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 67(2), pages 301-320, April.
    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. Tutz, Gerhard & Pößnecker, Wolfgang & Uhlmann, Lorenz, 2015. "Variable selection in general multinomial logit models," Computational Statistics & Data Analysis, Elsevier, vol. 82(C), pages 207-222.
    2. Mkhadri, Abdallah & Ouhourane, Mohamed, 2013. "An extended variable inclusion and shrinkage algorithm for correlated variables," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 631-644.
    3. Susan Athey & Guido W. Imbens & Stefan Wager, 2018. "Approximate residual balancing: debiased inference of average treatment effects in high dimensions," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 80(4), pages 597-623, September.
    4. Chuliá, Helena & Garrón, Ignacio & Uribe, Jorge M., 2024. "Daily growth at risk: Financial or real drivers? The answer is not always the same," International Journal of Forecasting, Elsevier, vol. 40(2), pages 762-776.
    5. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    6. Niccolò Gentile & Michela Bia & Andrew E. Clark & Conchita D'Ambrosio & Alexandre Tkatchenko, 2025. "What Makes a Satisfying Life? Prediction and Interpretation with Machine‐Learning Algorithms," Review of Income and Wealth, International Association for Research in Income and Wealth, vol. 71(2), May.
    7. Immanuel Bayer & Philip Groth & Sebastian Schneckener, 2013. "Prediction Errors in Learning Drug Response from Gene Expression Data – Influence of Labeling, Sample Size, and Machine Learning Algorithm," PLOS ONE, Public Library of Science, vol. 8(7), pages 1-13, July.
    8. Mostafa Rezaei & Ivor Cribben & Michele Samorani, 2021. "A clustering-based feature selection method for automatically generated relational attributes," Annals of Operations Research, Springer, vol. 303(1), pages 233-263, August.
    9. Gustavo A. Alonso-Silverio & Víctor Francisco-García & Iris P. Guzmán-Guzmán & Elías Ventura-Molina & Antonio Alarcón-Paredes, 2021. "Toward Non-Invasive Estimation of Blood Glucose Concentration: A Comparative Performance," Mathematics, MDPI, vol. 9(20), pages 1-13, October.
    10. Christopher Kath & Florian Ziel, 2018. "The value of forecasts: Quantifying the economic gains of accurate quarter-hourly electricity price forecasts," Papers 1811.08604, arXiv.org.
    11. Karim Barigou & Stéphane Loisel & Yahia Salhi, 2020. "Parsimonious Predictive Mortality Modeling by Regularization and Cross-Validation with and without Covid-Type Effect," Risks, MDPI, vol. 9(1), pages 1-18, December.
    12. Gurgul Henryk & Machno Artur, 2017. "Trade Pattern on Warsaw Stock Exchange and Prediction of Number of Trades," Statistics in Transition New Series, Statistics Poland, vol. 18(1), pages 91-114, March.
    13. Michael Funke & Kadri Männasoo & Helery Tasane, 2023. "Regional Economic Impacts of the Øresund Cross-Border Fixed Link: Cui Bono?," CESifo Working Paper Series 10557, CESifo.
    14. Heinisch, Katja & Scaramella, Fabio & Schult, Christoph, 2025. "Assumption errors and forecast accuracy: A partial linear instrumental variable and double machine learning approach," IWH Discussion Papers 6/2025, Halle Institute for Economic Research (IWH).
    15. Camila Epprecht & Dominique Guegan & Álvaro Veiga & Joel Correa da Rosa, 2017. "Variable selection and forecasting via automated methods for linear models: LASSO/adaLASSO and Autometrics," Post-Print halshs-00917797, HAL.
    16. Zichen Zhang & Ye Eun Bae & Jonathan R. Bradley & Lang Wu & Chong Wu, 2022. "SUMMIT: An integrative approach for better transcriptomic data imputation improves causal gene identification," Nature Communications, Nature, vol. 13(1), pages 1-12, December.
    17. Štefan Lyócsa & Petra Vašaničová & Branka Hadji Misheva & Marko Dávid Vateha, 2022. "Default or profit scoring credit systems? Evidence from European and US peer-to-peer lending markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-21, December.
    18. Peter Bühlmann & Jacopo Mandozzi, 2014. "High-dimensional variable screening and bias in subsequent inference, with an empirical comparison," Computational Statistics, Springer, vol. 29(3), pages 407-430, June.
    19. Peter Martey Addo & Dominique Guegan & Bertrand Hassani, 2018. "Credit Risk Analysis Using Machine and Deep Learning Models," Risks, MDPI, vol. 6(2), pages 1-20, April.
    20. Capanu, Marinela & Giurcanu, Mihai & Begg, Colin B. & Gönen, Mithat, 2023. "Subsampling based variable selection for generalized linear models," Computational Statistics & Data Analysis, Elsevier, vol. 184(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    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:gam:jagris:v:15:y:2025:i:17:p:1901-:d:1744428. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.