Non-destructive classification of milk types using visible-near infrared spectroscopy and machine learning

  • Mia, Nayeem; 
  • Abul Hashem, Md.; 
  • Rahman, Md. Mukhlesur; 
  • Ismail, Mohammad
Citations

WEB OF SCIENCE

3
Citations

SCOPUS

3

초록

Milk authentication is important for ensuring product quality, consumer confidence, and regulatory compliance in the dairy industry. This study developed a non-destructive milk classification framework by integrating Visible-Near Infrared (Vis-NIR) spectroscopy with machine learning to differentiate cow milk, goat milk, and reconstituted milk. A total of 3000 spectra (1000 per class) were collected and divided into training (n = 2400) and independent test (n = 600) datasets using stratified sampling. Four preprocessing pipelines and ten machine learning models were systematically evaluated. Spectral analysis revealed clear class-dependent differences, particularly within the 600-1000 nm region, corresponding to absorption features associated with water, lipids, and proteins. Principal Component Analysis (PCA) demonstrated distinct clustering among milk classes, indicating strong spectral separability. Cross-validation performed on the training dataset showed excellent performance, with XGBoost achieving the highest mean accuracy (99.35%), followed by LightGBM (99.20%) and Gradient Boosting (99.00%). Independent test evaluation further confirmed strong generalization capability, where XGBoost achieved the highest accuracy (99.17%). Overall, the results demonstrate the potential of Vis-NIR spectroscopy combined with machine learning for rapid and reliable milk authentication.

키워드

Vis-NIR spectroscopy; Milk authentication; Machine learning; Dairy quality control
제목
Non-destructive classification of milk types using visible-near infrared spectroscopy and machine learning
저자
Mia, Nayeem; Abul Hashem, Md.; Rahman, Md. Mukhlesur; Ismail, Mohammad
DOI
10.1016/j.jfca.2026.109313
발행일
2026-08
유형
Article
저널명
Journal of Food Composition and Analysis
권
156