Xiaoyan Wang, Huichang Chen, Rendong Ji, Hailin Qin, Qinxin Xu, Tao Wang, Ying He, Zihan Huang
{"title":"基于紫外可见吸收光谱和机器学习的红茶中胭脂红的检测","authors":"Xiaoyan Wang, Huichang Chen, Rendong Ji, Hailin Qin, Qinxin Xu, Tao Wang, Ying He, Zihan Huang","doi":"10.1007/s12161-024-02705-7","DOIUrl":null,"url":null,"abstract":"<div><p>Carmine is a common synthetic pigment widely used in food processing, pharmaceutical dyeing, and other fields. Black tea is a popular beverage among many people, and its tea pigments have antioxidant, antiviral, anti-inflammatory, and antibacterial effects. However, excessive addition of carmine in black tea can pose a threat to human health. This article applies ultraviolet–visible (UV–vis) absorption spectroscopy technology to detect the carmine component in black tea and constructs a prediction model for the carmine content in black tea based on the Levenberg–Marquardt back propagation (LMBP) neural network and random forest (RF) algorithm. Firstly, 75 different concentrations of black tea-carmine solutions were prepared, and UV–vis absorption spectra were measured. Then, different methods were used to preprocess the spectra in different wavelength ranges, resulting in the optimal characteristic wavelength range of 400–600 nm, with the best preprocessing method being the combination of SG smoothing and normalization. Finally, the LMBP neural network and RF methods were applied to construct content prediction models for the carmine in black tea. The coefficient of determination (<i>R</i><sup>2</sup>) of the LMBP model corresponding to the test set was 0.99996, with the root mean square error (RMSE) of 1.0257 × 10<sup>−5</sup>, while the <i>R</i><sup>2</sup> of the RF model based on the full spectral wavelength was 0.98339, with the RMSE of 1.1686 × 10<sup>−4</sup>. The <i>R</i><sup>2</sup> value using the traditional Lambert–Beer law of the test set is 0.96673, while the <i>R</i><sup>2</sup> value based on the nonlinear fitting method is 0.98074. This article verifies the superiority of the LMBP method in predicting the content of carmine in black tea through experiments, providing important reference value for tea quality supervision.</p></div>","PeriodicalId":561,"journal":{"name":"Food Analytical Methods","volume":"18 2","pages":"149 - 160"},"PeriodicalIF":2.6000,"publicationDate":"2024-11-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Detection of Carmine in Black Tea Based on UV–Vis Absorption Spectroscopy and Machine Learning\",\"authors\":\"Xiaoyan Wang, Huichang Chen, Rendong Ji, Hailin Qin, Qinxin Xu, Tao Wang, Ying He, Zihan Huang\",\"doi\":\"10.1007/s12161-024-02705-7\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Carmine is a common synthetic pigment widely used in food processing, pharmaceutical dyeing, and other fields. Black tea is a popular beverage among many people, and its tea pigments have antioxidant, antiviral, anti-inflammatory, and antibacterial effects. However, excessive addition of carmine in black tea can pose a threat to human health. This article applies ultraviolet–visible (UV–vis) absorption spectroscopy technology to detect the carmine component in black tea and constructs a prediction model for the carmine content in black tea based on the Levenberg–Marquardt back propagation (LMBP) neural network and random forest (RF) algorithm. Firstly, 75 different concentrations of black tea-carmine solutions were prepared, and UV–vis absorption spectra were measured. Then, different methods were used to preprocess the spectra in different wavelength ranges, resulting in the optimal characteristic wavelength range of 400–600 nm, with the best preprocessing method being the combination of SG smoothing and normalization. Finally, the LMBP neural network and RF methods were applied to construct content prediction models for the carmine in black tea. The coefficient of determination (<i>R</i><sup>2</sup>) of the LMBP model corresponding to the test set was 0.99996, with the root mean square error (RMSE) of 1.0257 × 10<sup>−5</sup>, while the <i>R</i><sup>2</sup> of the RF model based on the full spectral wavelength was 0.98339, with the RMSE of 1.1686 × 10<sup>−4</sup>. The <i>R</i><sup>2</sup> value using the traditional Lambert–Beer law of the test set is 0.96673, while the <i>R</i><sup>2</sup> value based on the nonlinear fitting method is 0.98074. This article verifies the superiority of the LMBP method in predicting the content of carmine in black tea through experiments, providing important reference value for tea quality supervision.</p></div>\",\"PeriodicalId\":561,\"journal\":{\"name\":\"Food Analytical Methods\",\"volume\":\"18 2\",\"pages\":\"149 - 160\"},\"PeriodicalIF\":2.6000,\"publicationDate\":\"2024-11-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Food Analytical Methods\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s12161-024-02705-7\",\"RegionNum\":3,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"FOOD SCIENCE & TECHNOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Analytical Methods","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s12161-024-02705-7","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
Detection of Carmine in Black Tea Based on UV–Vis Absorption Spectroscopy and Machine Learning
Carmine is a common synthetic pigment widely used in food processing, pharmaceutical dyeing, and other fields. Black tea is a popular beverage among many people, and its tea pigments have antioxidant, antiviral, anti-inflammatory, and antibacterial effects. However, excessive addition of carmine in black tea can pose a threat to human health. This article applies ultraviolet–visible (UV–vis) absorption spectroscopy technology to detect the carmine component in black tea and constructs a prediction model for the carmine content in black tea based on the Levenberg–Marquardt back propagation (LMBP) neural network and random forest (RF) algorithm. Firstly, 75 different concentrations of black tea-carmine solutions were prepared, and UV–vis absorption spectra were measured. Then, different methods were used to preprocess the spectra in different wavelength ranges, resulting in the optimal characteristic wavelength range of 400–600 nm, with the best preprocessing method being the combination of SG smoothing and normalization. Finally, the LMBP neural network and RF methods were applied to construct content prediction models for the carmine in black tea. The coefficient of determination (R2) of the LMBP model corresponding to the test set was 0.99996, with the root mean square error (RMSE) of 1.0257 × 10−5, while the R2 of the RF model based on the full spectral wavelength was 0.98339, with the RMSE of 1.1686 × 10−4. The R2 value using the traditional Lambert–Beer law of the test set is 0.96673, while the R2 value based on the nonlinear fitting method is 0.98074. This article verifies the superiority of the LMBP method in predicting the content of carmine in black tea through experiments, providing important reference value for tea quality supervision.
期刊介绍:
Food Analytical Methods publishes original articles, review articles, and notes on novel and/or state-of-the-art analytical methods or issues to be solved, as well as significant improvements or interesting applications to existing methods. These include analytical technology and methodology for food microbial contaminants, food chemistry and toxicology, food quality, food authenticity and food traceability. The journal covers fundamental and specific aspects of the development, optimization, and practical implementation in routine laboratories, and validation of food analytical methods for the monitoring of food safety and quality.