基于改进支持向量机鲸鱼优化算法的Vis-NIR光谱土壤全氮、全磷、全钾含量多光谱评价

IF 6.1 1区 农林科学 Q1 SOIL SCIENCE
Liu Mochen , Yang Kuankuan , Yan Yinfa , Song Zhanhua , Tian Fuyang , Li Fade , Yu Zhenwei , Rongyao Zhang , Yang Qinglu , Lu Yao
{"title":"基于改进支持向量机鲸鱼优化算法的Vis-NIR光谱土壤全氮、全磷、全钾含量多光谱评价","authors":"Liu Mochen ,&nbsp;Yang Kuankuan ,&nbsp;Yan Yinfa ,&nbsp;Song Zhanhua ,&nbsp;Tian Fuyang ,&nbsp;Li Fade ,&nbsp;Yu Zhenwei ,&nbsp;Rongyao Zhang ,&nbsp;Yang Qinglu ,&nbsp;Lu Yao","doi":"10.1016/j.still.2025.106567","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate and non-destructive detection of total nitrogen (TN), total phosphorus (TP), and total potassium (TK) levels in soil is crucial for precise soil testing and fertilization in modernized precision agriculture. Traditional methods for soil composition analysis are expensive, time-consuming, and destructive. This research aims to establish a low-cost, high-precision, and non-destructive method for soil nutrient detection based on visible-near-infrared (Vis-NIR) spectroscopy (350–2500 nm) combined with improved machine learning algorithms. The Vis-NIR spectra of soil samples were acquired using the RS-5400 high-resolution ground feature spectrometer. Subsequently, the Monte Carlo sampling cross-validation (MCCV) algorithm was used to eliminate abnormal samples, and then different preprocessing methods were performed on the spectral data including first-derivative (FD), Savitzky-Golay smoothing (SG) and others. The optimal preprocessing method was selected from these options. In order to remove redundant information and increase the speed of calculation, five algorithms such as competitive adaptive reweighted sampling (CARS), iteratively retains informative variables (IRIV) and the variable iterative space shrinkage approach (VISSA)-IRIV algorithm were used to select feature variables. The characteristic wavelengths closely related to TN, TP, and TK in the soil have been extracted. Then, the RBF kernel (radial basis function) and poly kernel were mixed to obtain the RBF-poly hybrid kernel function, and then the hybrid kernel function support vector machine (RBF-poly-SVM) and the radial basis kernel function support vector machine (RBF-SVM) were applied respectively. Establish prediction models and introduce the whale optimization algorithm (WOA) to optimize the <em>g</em> (kernel function parameter), <em>c</em> (penalty factor) and k<sub><em>-rbf</em></sub> (weight coefficient) parameters in the two models. The performance of the developed models was tested using the coefficient of determination (<em>R</em><sup><em>2</em></sup>), the root mean squared error (<em>RMSE</em>) and the ratio of performance to deviation (<em>RPD</em>). The results demonstrated that among all models, the RBF-poly -SVM modeling methods were superior to the RBF-SVM model. The best results for estimation of TN, TP, and TK elements were achieved by the models of SG-square-FD + IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.960, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.902, <em>RPD</em>=3.206), square-FD + IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.999, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.937, <em>RPD</em>=3.939), square root + VISSA-IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.955, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.904, <em>RPD</em>=2.608), respectively. The findings of the current approach own practical implications for agriculture and environmental management, as they enable more efficient and accurate soil nutrient monitoring and management.</div></div>","PeriodicalId":49503,"journal":{"name":"Soil & Tillage Research","volume":"252 ","pages":"Article 106567"},"PeriodicalIF":6.1000,"publicationDate":"2025-04-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Multi-spectral evaluation of total nitrogen, phosphorus and potassium content in soil using Vis-NIR spectroscopy based on a modified support vector machine with whale optimization algorithm\",\"authors\":\"Liu Mochen ,&nbsp;Yang Kuankuan ,&nbsp;Yan Yinfa ,&nbsp;Song Zhanhua ,&nbsp;Tian Fuyang ,&nbsp;Li Fade ,&nbsp;Yu Zhenwei ,&nbsp;Rongyao Zhang ,&nbsp;Yang Qinglu ,&nbsp;Lu Yao\",\"doi\":\"10.1016/j.still.2025.106567\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Accurate and non-destructive detection of total nitrogen (TN), total phosphorus (TP), and total potassium (TK) levels in soil is crucial for precise soil testing and fertilization in modernized precision agriculture. Traditional methods for soil composition analysis are expensive, time-consuming, and destructive. This research aims to establish a low-cost, high-precision, and non-destructive method for soil nutrient detection based on visible-near-infrared (Vis-NIR) spectroscopy (350–2500 nm) combined with improved machine learning algorithms. The Vis-NIR spectra of soil samples were acquired using the RS-5400 high-resolution ground feature spectrometer. Subsequently, the Monte Carlo sampling cross-validation (MCCV) algorithm was used to eliminate abnormal samples, and then different preprocessing methods were performed on the spectral data including first-derivative (FD), Savitzky-Golay smoothing (SG) and others. The optimal preprocessing method was selected from these options. In order to remove redundant information and increase the speed of calculation, five algorithms such as competitive adaptive reweighted sampling (CARS), iteratively retains informative variables (IRIV) and the variable iterative space shrinkage approach (VISSA)-IRIV algorithm were used to select feature variables. The characteristic wavelengths closely related to TN, TP, and TK in the soil have been extracted. Then, the RBF kernel (radial basis function) and poly kernel were mixed to obtain the RBF-poly hybrid kernel function, and then the hybrid kernel function support vector machine (RBF-poly-SVM) and the radial basis kernel function support vector machine (RBF-SVM) were applied respectively. Establish prediction models and introduce the whale optimization algorithm (WOA) to optimize the <em>g</em> (kernel function parameter), <em>c</em> (penalty factor) and k<sub><em>-rbf</em></sub> (weight coefficient) parameters in the two models. The performance of the developed models was tested using the coefficient of determination (<em>R</em><sup><em>2</em></sup>), the root mean squared error (<em>RMSE</em>) and the ratio of performance to deviation (<em>RPD</em>). The results demonstrated that among all models, the RBF-poly -SVM modeling methods were superior to the RBF-SVM model. The best results for estimation of TN, TP, and TK elements were achieved by the models of SG-square-FD + IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.960, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.902, <em>RPD</em>=3.206), square-FD + IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.999, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.937, <em>RPD</em>=3.939), square root + VISSA-IRIV + RBF-poly-SVM (<em>R</em><sup><em>2</em></sup><sub><em>C</em></sub>=0.955, <em>R</em><sup><em>2</em></sup><sub><em>V</em></sub>=0.904, <em>RPD</em>=2.608), respectively. The findings of the current approach own practical implications for agriculture and environmental management, as they enable more efficient and accurate soil nutrient monitoring and management.</div></div>\",\"PeriodicalId\":49503,\"journal\":{\"name\":\"Soil & Tillage Research\",\"volume\":\"252 \",\"pages\":\"Article 106567\"},\"PeriodicalIF\":6.1000,\"publicationDate\":\"2025-04-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Soil & Tillage Research\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0167198725001217\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"SOIL SCIENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Soil & Tillage Research","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167198725001217","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"SOIL SCIENCE","Score":null,"Total":0}
引用次数: 0

摘要

准确、无损地检测土壤全氮(TN)、全磷(TP)和全钾(TK)水平,是现代化精准农业土壤精准检测和施肥的关键。传统的土壤成分分析方法昂贵、耗时且具有破坏性。本研究旨在建立一种基于可见-近红外(Vis-NIR)光谱(350-2500 nm)结合改进的机器学习算法的低成本、高精度、无损的土壤养分检测方法。采用RS-5400高分辨率地物光谱仪获取土壤样品的Vis-NIR光谱。随后,采用蒙特卡罗采样交叉验证(MCCV)算法剔除异常样本,然后对光谱数据进行一阶导数(FD)、Savitzky-Golay平滑(SG)等不同预处理方法。从这些方案中选出最优的预处理方法。为了去除冗余信息,提高计算速度,采用竞争自适应重加权采样(CARS)、迭代保留信息变量(IRIV)和可变迭代空间收缩法(VISSA)-IRIV算法等5种算法选择特征变量。提取了土壤中与TN、TP、TK密切相关的特征波长。然后,将RBF核(径向基函数)和多核混合得到RBF-多混合核函数,然后分别应用混合核函数支持向量机(RBF-poly- svm)和径向基核函数支持向量机(RBF- svm)。建立预测模型,引入鲸鱼优化算法(WOA),对两个模型中的g(核函数参数)、c(惩罚因子)和k-rbf(权系数)参数进行优化。采用决定系数(R2)、均方根误差(RMSE)和性能偏差比(RPD)对所开发模型的性能进行检验。结果表明,在所有模型中,RBF-poly -SVM建模方法优于RBF-SVM模型。其中,gs -square- fd + IRIV + rbf -多支持向量机(R2C=0.960, R2V=0.902, RPD=3.206)、square- fd + IRIV + rbf -多支持向量机(R2C=0.999, R2V=0.937, RPD=3.939)、平方根+ VISSA-IRIV + rbf -多支持向量机(R2C=0.955, R2V=0.904, RPD=2.608)模型对TN、TP和TK元素的估计效果最好。当前方法的研究结果对农业和环境管理具有实际意义,因为它们能够更有效和准确地监测和管理土壤养分。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Multi-spectral evaluation of total nitrogen, phosphorus and potassium content in soil using Vis-NIR spectroscopy based on a modified support vector machine with whale optimization algorithm
Accurate and non-destructive detection of total nitrogen (TN), total phosphorus (TP), and total potassium (TK) levels in soil is crucial for precise soil testing and fertilization in modernized precision agriculture. Traditional methods for soil composition analysis are expensive, time-consuming, and destructive. This research aims to establish a low-cost, high-precision, and non-destructive method for soil nutrient detection based on visible-near-infrared (Vis-NIR) spectroscopy (350–2500 nm) combined with improved machine learning algorithms. The Vis-NIR spectra of soil samples were acquired using the RS-5400 high-resolution ground feature spectrometer. Subsequently, the Monte Carlo sampling cross-validation (MCCV) algorithm was used to eliminate abnormal samples, and then different preprocessing methods were performed on the spectral data including first-derivative (FD), Savitzky-Golay smoothing (SG) and others. The optimal preprocessing method was selected from these options. In order to remove redundant information and increase the speed of calculation, five algorithms such as competitive adaptive reweighted sampling (CARS), iteratively retains informative variables (IRIV) and the variable iterative space shrinkage approach (VISSA)-IRIV algorithm were used to select feature variables. The characteristic wavelengths closely related to TN, TP, and TK in the soil have been extracted. Then, the RBF kernel (radial basis function) and poly kernel were mixed to obtain the RBF-poly hybrid kernel function, and then the hybrid kernel function support vector machine (RBF-poly-SVM) and the radial basis kernel function support vector machine (RBF-SVM) were applied respectively. Establish prediction models and introduce the whale optimization algorithm (WOA) to optimize the g (kernel function parameter), c (penalty factor) and k-rbf (weight coefficient) parameters in the two models. The performance of the developed models was tested using the coefficient of determination (R2), the root mean squared error (RMSE) and the ratio of performance to deviation (RPD). The results demonstrated that among all models, the RBF-poly -SVM modeling methods were superior to the RBF-SVM model. The best results for estimation of TN, TP, and TK elements were achieved by the models of SG-square-FD + IRIV + RBF-poly-SVM (R2C=0.960, R2V=0.902, RPD=3.206), square-FD + IRIV + RBF-poly-SVM (R2C=0.999, R2V=0.937, RPD=3.939), square root + VISSA-IRIV + RBF-poly-SVM (R2C=0.955, R2V=0.904, RPD=2.608), respectively. The findings of the current approach own practical implications for agriculture and environmental management, as they enable more efficient and accurate soil nutrient monitoring and management.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Soil & Tillage Research
Soil & Tillage Research 农林科学-土壤科学
CiteScore
13.00
自引率
6.20%
发文量
266
审稿时长
5 months
期刊介绍: Soil & Tillage Research examines the physical, chemical and biological changes in the soil caused by tillage and field traffic. Manuscripts will be considered on aspects of soil science, physics, technology, mechanization and applied engineering for a sustainable balance among productivity, environmental quality and profitability. The following are examples of suitable topics within the scope of the journal of Soil and Tillage Research: The agricultural and biosystems engineering associated with tillage (including no-tillage, reduced-tillage and direct drilling), irrigation and drainage, crops and crop rotations, fertilization, rehabilitation of mine spoils and processes used to modify soils. Soil change effects on establishment and yield of crops, growth of plants and roots, structure and erosion of soil, cycling of carbon and nutrients, greenhouse gas emissions, leaching, runoff and other processes that affect environmental quality. Characterization or modeling of tillage and field traffic responses, soil, climate, or topographic effects, soil deformation processes, tillage tools, traction devices, energy requirements, economics, surface and subsurface water quality effects, tillage effects on weed, pest and disease control, and their interactions.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信