Related Experiment Video
Updated: Nov 8, 2025

Use of Principal Components for Scaling Up Topographic Models to Map Soil Redistribution and Soil Organic Carbon
Published on: October 16, 2018
Estimation of soil organic matter content based on CARS algorithm coupled with random forest
Jinbao Liu1, Zhenyu Dong2, Junshi Xia3
1Shaanxi Provincial Land Engineering Construction Group Co., Ltd, Xi'an, Shaanxi 710075, China; Institute of Water Resources and Hydro-electric Engineering, Xi'an University of Technology, Xi'an, Shaanxi 710048, China; Key Laboratory of Degraded and Unused Land Consolidation Engineering, the Ministry of Natural Resources, Xi'an, Shaanxi 710075, China.
This study developed a rapid method to estimate soil organic matter (SOM) using Vis-NIR spectroscopy and machine learning. The competitive adaptive weighting algorithm and random forest regression significantly improved prediction accuracy for precision agriculture.
Area of Science:
- Agricultural Science
- Soil Science
- Spectroscopy
Background:
- Soil organic matter (SOM) is crucial for soil fertility, nutrient availability, and precision agriculture.
- Accurate and efficient estimation of SOM content is essential for effective farmland management.
Purpose of the Study:
- To develop a rapid and efficient method for estimating soil organic matter (SOM) content in farmland using Vis-NIR spectroscopy.
- To select optimal characteristic spectral variables and build a robust predictive model for SOM.
Main Methods:
- Collected 190 farmland soil samples and their corresponding Vis-NIR spectroscopy data.
- Employed the Competitive Adaptive Weighting Algorithm (CARS) for characteristic wavelength selection.
- Utilized Random Forest (RF) regression to establish and validate the SOM predictive model.
Main Results:
- The CARS algorithm identified optimal spectral variable subsets, enhancing model accuracy.
- The CR-RF model achieved high prediction accuracy, with R² of 0.96 and RPD of 3.02 on the validation set.
- The method demonstrated accurate prediction of SOM in the cultivated layer.
Conclusions:
- The combined CARS and RF approach provides an efficient and accurate method for estimating soil organic matter content.
- This technique supports precision agriculture by enabling rapid soil fertility assessment.
- The study successfully realized accurate prediction of SOM in the Jingbian County farmland.
Related Concept Videos
Random Sampling Method
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Response Surface Methodology
The process of RSM involves several key steps:
Quantifying and Rejecting Outliers: The Grubbs Test

