Spectroscopy and Spectral Analysis, Volume. 43, Issue 2, 569(2023)

Detection of Adulteration of Vine Pepper Oil by Near-Infrared Spectroscopy Combined With Improved Whale Optimization Algorithm Model BAS-WOA-SVR

XU Su-an*, WANG Jia-xiang, and LIU Yong
Author Affiliations
  • [in Chinese]
  • show less

    Due to the uneven market of rattan pepper oil, based on near-infrared spectroscopy technology, rattan pepper oil is the research object, and the research on the adulteration detection of rattan pepper oil is carried out. First, pure rattan pepper oil was used as the base oil, and the adulterated soybean oil, corn oil, and sunflower oil were prepared in proportion to obtain oil samples. The near-infrared spectroscopy was used to collect the spectral data of the oil samples to obtain the adulterated near-infrared spectral data of rattan pepper oil. The spectral data are normalized and preprocessed by Standard Normal Variation (SNV) and MultivariativeScatter Correction (MSC). And then, the feature data is processed by Competitive Adaptive Reweighting Sampling (CARS) and SuccessiveProjection Algorithm (SPA). Extraction, combining different preprocessing algorithms and feature data extraction algorithms, and establishing a prediction model of vine pepper oil adulteration through Support Vector Machine regression (SVR). The results show that the coefficient of determination (R2) of the calibration set and prediction set of the MSC-CARS-SVR model is the highest, the calibration set R2 reaches 0.756 1, and the prediction set R2 reaches 0.705 2; the root mean square error (RMSE) is the smallest, and the calibration set RMSE reaches 0.743, The prediction set RMSE reaches 0.794. In order to improve the accuracy of the model, the Whale Optimization Algorithm (WOA) and the Improved Whale Optimization Algorithm (BAS-WOA) are used to optimize the SVR model. The left and right beards are moved forward, and the objective function after the advance is calculated. If the objective function is better than the current optimal whale value, the position of the whale is replaced by the position of the beetle after the move forward, thereby realizing the improvement of the beetle operator on the whale algorithm. When WOA optimizes the SVR model, compared with the MSC-CARS-WOA-SVR model with the highest accuracy, the R2 of the calibration set can reach 0.859 1, and the R2 of the prediction set can reach 0.821 6; the RMSE of the calibration set is reduced to 0.374, and the RMSE of the prediction set is reduced to 0.495. Compared with the traditional SVR model, the accuracy and performance of the SVR model are significantly improved. When BAS-WOA optimizes the SVR model, the MSC-CARS-BAS-WOA-SVR model has the highest accuracy. The calibration set R2 is as high as 0.955 1, and the prediction set R2 is as high as 0.943 9; the calibration set RMSE is reduced to 0.054, and the prediction set RMSE is reduced to 0.081. Compared with the WOA optimization algorithm, the model accuracy and performance of the BAS-WOA optimization have been further improved. The model prediction set R2 is increased from 0.821 6 to 0.943 9, and the prediction set RMSE is reduced from 0.495 to 0.081. Whale Optimization Algorithm easily falls into local extremum and convergence rate problems when optimizing the SVR model. The improved Whale Optimization Algorithm uses the left and right baleen search of the beetle algorithm to improve the lack of the Whale Optimization Algorithm, thereby improving the global optimization ability of the algorithm. The research shows that near-infrared spectroscopy technology combined with an intelligent optimization algorithms can effectively identify the adulteration of vine pepper oil, which provides a reference for the research on the adulteration of vine pepper oil.

    Tools

    Get Citation

    Copy Citation Text

    XU Su-an, WANG Jia-xiang, LIU Yong. Detection of Adulteration of Vine Pepper Oil by Near-Infrared Spectroscopy Combined With Improved Whale Optimization Algorithm Model BAS-WOA-SVR[J]. Spectroscopy and Spectral Analysis, 2023, 43(2): 569

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Received: Apr. 12, 2022

    Accepted: --

    Published Online: Mar. 28, 2023

    The Author Email: Su-an XU (xusuan@cjlu.edu.cn)

    DOI:10.3964/j.issn.1000-0593(2023)02-0569-08

    Topics