Comparative Analysis of Raw and Preprocessed Vis–NIR and MIR Spectra for Soil Property Estimation

ORCID

Gamegedara: https://orcid.org/0000-0002-6826-8420; Wijewardane: https://orcid.org/0000-0001-8962-9451

MSU Affiliation

College of Agriculture and Life Sciences; Department of Agricultural and Biological Engineering; James Worth Bagley College of Engineering

Creation Date

2026-06-30

Abstract

Demand for rapid and cost-effective soil analysis has increased the use of spectroscopy, particularly in the visible–near-infrared (Vis–NIR) and mid-infrared (MIR) regions. Using 8304 soil samples from the United States Department of Agriculture spectral library, this study evaluated the effects of raw and preprocessed spectra on the prediction accuracy of eleven key soil properties across Vis–NIR and MIR regions using multiple machine learning algorithms. Spectral preprocessing, combining baseline correction and standard normal variate transformation, consistently improved prediction accuracy compared to the raw spectra. Overall, MIR-based models consistently outperformed Vis–NIR across all soil properties, with the largest performance gains observed for potassium, bulk density, and nitrate nitrogen. Among the machine learning approaches evaluated, artificial neural networks and categorical boosting algorithms provided the strongest and most consistent predictive performance across both spectral regions. These findings demonstrate that combining appropriate spectral preprocessing, spectral region selection, and advanced machine learning algorithms can substantially improve soil property prediction using spectroscopy.

Publication Date

2-13-2026

Publication Title

Biology and Life Sciences Forum

Publisher

MDPI

Creative Commons License

Creative Commons Attribution 4.0 International License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Rights

© 2026 The Authors

Share

COinS
 

Digital Object Identifier (DOI)

https://doi.org/10.3390/blsf2025054021