{"title":"利用ELM和近红外光谱快速检测食品质量指标。","authors":"Lei Shi, Yu Yang, Dandan Zhai, Peng Li","doi":"10.1016/j.saa.2025.126766","DOIUrl":null,"url":null,"abstract":"<p><p>To achieve rapid, non-destructive detection of food quality indicators, this study introduces a novel method that combines near-infrared (NIR) spectroscopy with the Extreme learning machine (ELM) model. Eight spectral preprocessing methods and three wavelength selection algorithms were evaluated for predicting total ginsenoside content (TGC) and protein content (PC), along with a comparative analysis of the ELM model's performance against support vector regression and random forest. Results showed that Savitzky-Golay smoothing with standard normal variate was the best preprocessing method, K-means clustering provided the optimal wavelength selection algorithm, and the ELM model demonstrated the best performance. Specifically, the ELM based on K-means method achieved optimal results: R<sup>2</sup> of 0.9431, RMSE of 0.2933 mg/g, rRMSE of 0.0824, RPD of 4.2386, and P-time of 4 × 10<sup>-7</sup> s for TGC; and R<sup>2</sup> of 0.9764, RMSE of 4.1361 mg/g, rRMSE of 0.0337, RPD of 6.1295, and P-time of 2 × 10<sup>-7</sup> s for PC. In summary, combining NIR spectroscopy with the ELM model and clustering-based wavelength selection algorithm offers a reliable and practical solution for rapid, non-destructive, and accurate detection of food quality indicators.</p>","PeriodicalId":94213,"journal":{"name":"Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy","volume":"345 ","pages":"126766"},"PeriodicalIF":4.6000,"publicationDate":"2026-01-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Rapid detection of food quality indicators using ELM and near-infrared spectroscopy.\",\"authors\":\"Lei Shi, Yu Yang, Dandan Zhai, Peng Li\",\"doi\":\"10.1016/j.saa.2025.126766\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>To achieve rapid, non-destructive detection of food quality indicators, this study introduces a novel method that combines near-infrared (NIR) spectroscopy with the Extreme learning machine (ELM) model. Eight spectral preprocessing methods and three wavelength selection algorithms were evaluated for predicting total ginsenoside content (TGC) and protein content (PC), along with a comparative analysis of the ELM model's performance against support vector regression and random forest. Results showed that Savitzky-Golay smoothing with standard normal variate was the best preprocessing method, K-means clustering provided the optimal wavelength selection algorithm, and the ELM model demonstrated the best performance. Specifically, the ELM based on K-means method achieved optimal results: R<sup>2</sup> of 0.9431, RMSE of 0.2933 mg/g, rRMSE of 0.0824, RPD of 4.2386, and P-time of 4 × 10<sup>-7</sup> s for TGC; and R<sup>2</sup> of 0.9764, RMSE of 4.1361 mg/g, rRMSE of 0.0337, RPD of 6.1295, and P-time of 2 × 10<sup>-7</sup> s for PC. In summary, combining NIR spectroscopy with the ELM model and clustering-based wavelength selection algorithm offers a reliable and practical solution for rapid, non-destructive, and accurate detection of food quality indicators.</p>\",\"PeriodicalId\":94213,\"journal\":{\"name\":\"Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy\",\"volume\":\"345 \",\"pages\":\"126766\"},\"PeriodicalIF\":4.6000,\"publicationDate\":\"2026-01-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1016/j.saa.2025.126766\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2025/8/5 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1016/j.saa.2025.126766","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/8/5 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
Rapid detection of food quality indicators using ELM and near-infrared spectroscopy.
To achieve rapid, non-destructive detection of food quality indicators, this study introduces a novel method that combines near-infrared (NIR) spectroscopy with the Extreme learning machine (ELM) model. Eight spectral preprocessing methods and three wavelength selection algorithms were evaluated for predicting total ginsenoside content (TGC) and protein content (PC), along with a comparative analysis of the ELM model's performance against support vector regression and random forest. Results showed that Savitzky-Golay smoothing with standard normal variate was the best preprocessing method, K-means clustering provided the optimal wavelength selection algorithm, and the ELM model demonstrated the best performance. Specifically, the ELM based on K-means method achieved optimal results: R2 of 0.9431, RMSE of 0.2933 mg/g, rRMSE of 0.0824, RPD of 4.2386, and P-time of 4 × 10-7 s for TGC; and R2 of 0.9764, RMSE of 4.1361 mg/g, rRMSE of 0.0337, RPD of 6.1295, and P-time of 2 × 10-7 s for PC. In summary, combining NIR spectroscopy with the ELM model and clustering-based wavelength selection algorithm offers a reliable and practical solution for rapid, non-destructive, and accurate detection of food quality indicators.