Spectroscopy and Spectral Analysis, Volume. 44, Issue 5, 1464(2024)

An Improved XGBoosting Algorithm Based on Fat Content in Infant Milk Powder Prediction Model

ZHANG Wen-jing1...2, XUE He-ru1,2,*, JIANG Xin-hua1,2, LIU Jiang-ping1,2 and HUANG Qing1 |Show fewer author(s)
Author Affiliations
  • 1[in Chinese]
  • 2[in Chinese]
  • show less

    Fat plays an essential role in the composition of infant formula. Not only is fat a vital component of a babys growth and development, but it also provides essential energy for growth. It is crucial for the development of the infant brain and the formation of nerve myelin. Chemical methods for determining the fat content of infant milk powder, such as ether extraction, are sensitive but have the disadvantage of destroying samples and having a long detection period. In this paper, the hyperspectral data undergoes preprocessing processes with standard normal transform (SNV), multiple scattering corrections (MSC), Savitzky-Golay smoothing, and Roust method using different stages of infant milk powder in Inner Mongolia, China. A competitive adaptive re-weighting algorithm, CARS, was used to sift out redundant wavelengths from the spectroscopic data at 125 feature wavelengths, leaving 66 valid wavelengths. The Bayesian optimization algorithm optimizes the XGBoosting prediction model, leading to a BO-XGBoosting model that predicts the fat content of infant formula better than the original model. The experimental results show that the model predicts better than the traditional partial least squares regression (PLSR) and support vector machine (SVR) regression model, outperforming the Bagging and GrdientBoosting algorithms in the integrated algorithm. In the BO-XGBoosting model in the test set experiments, the decision coefficient R2 and root mean square error of prediction (RMSEP) obtained are 0. 953 7 and 0. 577 3, which are 2. 91% higher and 19. 2% lower than the determination coefficient R2 and root mean squared error of prediction (RMSEP) of the XGBoosting models R2 and RMSEP, respectively. This study provides algorithmic support and a theoretical foundation for BO-XGBooting based rapid, non-destructive detection of infant formula fat content.

    Tools

    Get Citation

    Copy Citation Text

    ZHANG Wen-jing, XUE He-ru, JIANG Xin-hua, LIU Jiang-ping, HUANG Qing. An Improved XGBoosting Algorithm Based on Fat Content in Infant Milk Powder Prediction Model[J]. Spectroscopy and Spectral Analysis, 2024, 44(5): 1464

    Download Citation

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

    Received: Feb. 19, 2023

    Accepted: --

    Published Online: Aug. 21, 2024

    The Author Email: He-ru XUE (xuehr@imau.edu.cn)

    DOI:10.3964/j.issn.1000-0593(2024)05-1464-08

    Topics