Application of Vis–NIR Spectroscopy and Machine Learning for Assessing Soil Organic Carbon in the Sierra Nevada de Santa Marta, Colombia

Soil organic carbon (SOC) is an essential indicator of soil fertility, health, and carbon sequestration capacity. Its proper management improves soil structure, productivity, and resilience to climate change, making rapid and reliable SOC assessment essential for sustainable agriculture. Visible and near-infrared (Vis–NIR) spectroscopy offers a non-destructive and cost-effective alternative to conventional laboratory analyses, allowing for the simultaneous estimation of multiple soil properties from a single spectrum. This study aimed to predict SOC content using machine learning techniques applied to Vis–NIR spectra of 860 soil samples collected in the Sierra Nevada de Santa Marta, Colombia. The spectra (400–2500 nm) were acquired using a NIR spectrophotometer, and the soil organic carbon (SOC) content was quantified using a wet oxidation method that employs dichromate in an acidic medium. A hybrid modeling framework combining Random Forest (RF) with support vector regression (SVR) and XGBoost was implemented. Spectral pretreatments (Savitzky–Golay first derivative, MSC, and SNV) were compared, and spectral bands were selected every 10 nm. The 30 most relevant wavelengths were identified using RF importance analysis. Data were divided into training (80%) and test (20%) subsets using stratified random sampling, and five-fold cross-validation was applied for parameter optimization and overfitting control. The RF–XGBoost (R2 = 0.86) and RF–SVR (R2 = 0.85) models outperformed the individual RF and SVR models (R2 < 0.7). The proposed hybrid approach, optimized through features, and advanced spectral preprocessing demonstrate a robust and scalable framework for rapid prediction of SOC and sustainable soil monitoring.

Authors

Institutions

Publication Details

Journal
Sustainability
Published
2026-01-04
DOI
https://doi.org/10.3390/su18010513
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Application of Vis–NIR Spectroscopy and Machine Learning for Assessing Soil Organic Carbon in the Sierra Nevada de Santa Marta, Colombia

William Ipanaqué, Andrea C. Montenegro, Marlón José Yacomelo Hernández, Luis Fernando Prado Castillo et al.
Sustainability
Soil Geostatistics and Mapping
article

Application of Vis–NIR Spectroscopy and Machine Learning for Assessing Soil Organic Carbon in the Sierra Nevada de Santa Marta, Colombia

William Ipanaqué, Andrea C. Montenegro, Marlón José Yacomelo Hernández, Luis Fernando Prado Castillo, Darío Castañeda Sánchez, Oscar Casas Leuro, Oscar de Jesús Córdoba, Jim Castillo Quezada, Carlos Pacherres Herrera, Elias Flórez Cordero, Cesar Vargas García
article en

Abstract

Soil organic carbon (SOC) is an essential indicator of soil fertility, health, and carbon sequestration capacity. Its proper management improves soil structure, productivity, and resilience to climate change, making rapid and reliable SOC assessment essential for sustainable agriculture. Visible and near-infrared (Vis–NIR) spectroscopy offers a non-destructive and cost-effective alternative to conventional laboratory analyses, allowing for the simultaneous estimation of multiple soil properties from a single spectrum. This study aimed to predict SOC content using machine learning techniques applied to Vis–NIR spectra of 860 soil samples collected in the Sierra Nevada de Santa Marta, Colombia. The spectra (400–2500 nm) were acquired using a NIR spectrophotometer, and the soil organic carbon (SOC) content was quantified using a wet oxidation method that employs dichromate in an acidic medium. A hybrid modeling framework combining Random Forest (RF) with support vector regression (SVR) and XGBoost was implemented. Spectral pretreatments (Savitzky–Golay first derivative, MSC, and SNV) were compared, and spectral bands were selected every 10 nm. The 30 most relevant wavelengths were identified using RF importance analysis. Data were divided into training (80%) and test (20%) subsets using stratified random sampling, and five-fold cross-validation was applied for parameter optimization and overfitting control. The RF–XGBoost (R2 = 0.86) and RF–SVR (R2 = 0.85) models outperformed the individual RF and SVR models (R2 < 0.7). The proposed hybrid approach, optimized through features, and advanced spectral preprocessing demonstrate a robust and scalable framework for rapid prediction of SOC and sustainable soil monitoring.

SustainabilityVol. 18(1)
Ecopetrol (Colombia) (CO), University of Piura (PE), Universidad Nacional de Colombia (CO), Colombian Corporation for Agricultural Research - AGROSAVIA (CO)
Zero hunger
Openalex Percentile: Top 97%
Soil Geostatistics and Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.