Search papers, labs, and topics across Lattice.
This study leverages machine learning regression techniques to analyze near-infrared (NIR) spectroscopy data for quantifying carbon and nitrogen contents in Inceptisol and Oxisol soil types. By comparing various preprocessing methods, particularly the Savitzky-Golay filter and a robust outlier removal technique using the NIPALS algorithm, the research identifies optimal strategies for enhancing model accuracy. The resulting models, employing stacking ensemble learning with an RPD greater than 2.0, demonstrate low overfitting and significant potential for rapid soil nutrient analysis, which is crucial for sustainable agricultural practices.
Achieving an RPD greater than 2.0 with low overfitting, this machine learning approach revolutionizes rapid soil nutrient quantification, crucial for sustainable agriculture.
Near-Infrared (NIR) spectroscopy has emerged as a promising alternative to traditional soil analysis methods, offering advantages such as speed, low cost, and non-destructive testing. This work proposes a machine learning (ML) approach to calibrate predictive models for carbon (C) and nitrogen (N) content in Oxisols and Inceptisols, utilizing NIR spectral data acquired with a portable MyNIR device. Various preprocessing methods were evaluated, with the most effective being the Savitzky-Golay (SG) filter and a robust outlier removal method based on the Nonlinear Iterative Partial Least Squares (NIPALS) algorithm coupled with a Huber loss function. Multiple validation strategies were compared, including 10-fold cross-validation, leave-one-out, and holdout via the Kennard-Stone method, followed by standardization. Stacking ensemble learning models were employed, using Partial Least Squares (PLS), Support Vector Regression (SVR), and Ridge as base models, with linear regression as the meta-model. The models were evaluated using R2, Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and Ratio of Performance Deviation (RPD) metrics. The performance gap between soil types suggests the influence of pedological characteristics. Furthermore, the models achieved an RPD > 2.0 with low overfitting, validating the potential of this approach for rapid C and N quantification. This study contributes to the optimization of sustainable agricultural practices, aligning with the demand for efficient and environmentally friendly analytical methods. The developed technique enables faster decision-making for producers and consultants based on organic matter content, fertility indicators, and nutrient availability.