Kai Zhao , Haiqing Tian , Jue Zhang , Li’na Guo , Yang Yu , Haijun Li
{"title":"集成粘菌算法和级联集合的自适应建模方法:VIS-NIRS 下青贮质量的无损检测","authors":"Kai Zhao , Haiqing Tian , Jue Zhang , Li’na Guo , Yang Yu , Haijun Li","doi":"10.1016/j.compag.2025.110247","DOIUrl":null,"url":null,"abstract":"<div><div>Rapid and scientific evaluation of silage quality is essential for livestock farming. The aim is fast, large-scale, and non-destructive detection of silage pH and quality grades. The Slime Mould Algorithm (SMA) was integrated with a cascade ensemble (cascading) to create an intelligent and adaptive modeling algorithm (SMA-configured cascading). Firstly, visible-near-infrared spectra of aerobically deteriorated silage were collected and preprocessed. Secondly, SMA was employed to mine spectral features. Finally, SMA-configured cascading was applied for adaptive modeling by configuring the learners. The results demonstrated that 39 features extracted by SMA performed optimally regarding predictive effectiveness compared to two benchmark algorithms. These features effectively captured key quality information whereas avoiding interference. The SMA-configured cascading achieved the best prediction accuracy for silage quality, outperforming conventional adaptive-based and single-learner-based modeling methods. For pH prediction, the <span><math><msubsup><mi>R</mi><mrow><mi>p</mi></mrow><mn>2</mn></msubsup></math></span>, <em>RMSE<sub>P</sub></em>, <em>MAE<sub>P</sub></em>, <em>MAPE<sub>P</sub></em>, <em>RPD</em>, <em>configuration time</em> (<em>ET<sub>con</sub></em>), and <em>prediction time</em> (<em>ET<sub>pre</sub></em>) of the prediction set were 0.9954, 0.1020, 0.0750, 1.6836 %, 14.9808, 19070 s, and 20.98 s, respectively. The optimal cascading configuration was Partial Least Squares Regression (PLSR), PLSR, support vector machine (SVM), and SVM. For quality grade determination, the <em>Accuracy<sub>p</sub></em>, <em>F1-score<sub>p</sub></em>, <em>ET<sub>con</sub></em>, and <em>ET<sub>pre</sub></em> of the prediction set were 86.11 %, 0.8639, 3097.47 s, and 21.49 s, respectively, with the configured cascading being adaptive boosting and K-nearest neighbor. The proposed method enables efficient and adaptive modeling based on spectral features, optimizing quality prediction. It holds the potential for in-situ detection through offline configuration and online prediction. This study provides theoretical and technical support for the rapid assessment of silage quality in production environments.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"234 ","pages":"Article 110247"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Adaptive modeling method integrating slime mould algorithm and cascade ensemble: Nondestructive detection of silage quality under VIS-NIRS\",\"authors\":\"Kai Zhao , Haiqing Tian , Jue Zhang , Li’na Guo , Yang Yu , Haijun Li\",\"doi\":\"10.1016/j.compag.2025.110247\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Rapid and scientific evaluation of silage quality is essential for livestock farming. The aim is fast, large-scale, and non-destructive detection of silage pH and quality grades. The Slime Mould Algorithm (SMA) was integrated with a cascade ensemble (cascading) to create an intelligent and adaptive modeling algorithm (SMA-configured cascading). Firstly, visible-near-infrared spectra of aerobically deteriorated silage were collected and preprocessed. Secondly, SMA was employed to mine spectral features. Finally, SMA-configured cascading was applied for adaptive modeling by configuring the learners. The results demonstrated that 39 features extracted by SMA performed optimally regarding predictive effectiveness compared to two benchmark algorithms. These features effectively captured key quality information whereas avoiding interference. The SMA-configured cascading achieved the best prediction accuracy for silage quality, outperforming conventional adaptive-based and single-learner-based modeling methods. For pH prediction, the <span><math><msubsup><mi>R</mi><mrow><mi>p</mi></mrow><mn>2</mn></msubsup></math></span>, <em>RMSE<sub>P</sub></em>, <em>MAE<sub>P</sub></em>, <em>MAPE<sub>P</sub></em>, <em>RPD</em>, <em>configuration time</em> (<em>ET<sub>con</sub></em>), and <em>prediction time</em> (<em>ET<sub>pre</sub></em>) of the prediction set were 0.9954, 0.1020, 0.0750, 1.6836 %, 14.9808, 19070 s, and 20.98 s, respectively. The optimal cascading configuration was Partial Least Squares Regression (PLSR), PLSR, support vector machine (SVM), and SVM. For quality grade determination, the <em>Accuracy<sub>p</sub></em>, <em>F1-score<sub>p</sub></em>, <em>ET<sub>con</sub></em>, and <em>ET<sub>pre</sub></em> of the prediction set were 86.11 %, 0.8639, 3097.47 s, and 21.49 s, respectively, with the configured cascading being adaptive boosting and K-nearest neighbor. The proposed method enables efficient and adaptive modeling based on spectral features, optimizing quality prediction. It holds the potential for in-situ detection through offline configuration and online prediction. This study provides theoretical and technical support for the rapid assessment of silage quality in production environments.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":\"234 \",\"pages\":\"Article 110247\"},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2025-03-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169925003539\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925003539","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
Adaptive modeling method integrating slime mould algorithm and cascade ensemble: Nondestructive detection of silage quality under VIS-NIRS
Rapid and scientific evaluation of silage quality is essential for livestock farming. The aim is fast, large-scale, and non-destructive detection of silage pH and quality grades. The Slime Mould Algorithm (SMA) was integrated with a cascade ensemble (cascading) to create an intelligent and adaptive modeling algorithm (SMA-configured cascading). Firstly, visible-near-infrared spectra of aerobically deteriorated silage were collected and preprocessed. Secondly, SMA was employed to mine spectral features. Finally, SMA-configured cascading was applied for adaptive modeling by configuring the learners. The results demonstrated that 39 features extracted by SMA performed optimally regarding predictive effectiveness compared to two benchmark algorithms. These features effectively captured key quality information whereas avoiding interference. The SMA-configured cascading achieved the best prediction accuracy for silage quality, outperforming conventional adaptive-based and single-learner-based modeling methods. For pH prediction, the , RMSEP, MAEP, MAPEP, RPD, configuration time (ETcon), and prediction time (ETpre) of the prediction set were 0.9954, 0.1020, 0.0750, 1.6836 %, 14.9808, 19070 s, and 20.98 s, respectively. The optimal cascading configuration was Partial Least Squares Regression (PLSR), PLSR, support vector machine (SVM), and SVM. For quality grade determination, the Accuracyp, F1-scorep, ETcon, and ETpre of the prediction set were 86.11 %, 0.8639, 3097.47 s, and 21.49 s, respectively, with the configured cascading being adaptive boosting and K-nearest neighbor. The proposed method enables efficient and adaptive modeling based on spectral features, optimizing quality prediction. It holds the potential for in-situ detection through offline configuration and online prediction. This study provides theoretical and technical support for the rapid assessment of silage quality in production environments.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.