As part of the experimental procedure, the researchers collected 100 samples of yak milk powder from nine different brands across four major yak-rearing provinces in China, which included Sichuan, Gansu, Qinghai, and Yunnan (1). These regions allowed for sample variability, which helped make the data set highly representative of the yak milk powder market (1).
Then, the spectral data was preprocessed. The researchers used Savitzky–Golay (SG) smoothing to reduce noise and enhance signal quality. The researchers then applied three machine learning models to the processed data: partial least squares combined with support vector regression (PLS–SVR), ridge regression (RR), and random forest (RF) (1). The goal was to identify which model provided the most accurate predictions of the four quality indicators.
Among the models tested, the random forest (RF) algorithm demonstrated the highest prediction accuracy. The correlation coefficients for protein, fat, and moisture content were 0.9846, 0.9642, and 0.9915, respectively, whereas the acidity prediction achieved a correlation coefficient of 0.9819 (1). The model also showed strong predictive stability, with RPD (residual predictive deviation) values ranging from 5.4 to 20.1, indicating excellent model performance (1).
Furthermore, the model's performance makes it suitable for integration into real-time monitoring systems, providing a new pathway for automation in dairy processing facilities. The researchers suggest that future research endeavors could expand this system's scalability and reliability by regularly updating the training model with fresh sample data, as external factors like seasonal variation, processing techniques, and storage conditions could influence prediction accuracy (1).
Compared with traditional methods, the new approach not only shortens detection time from hours to minutes but also aligns with the broader global push for sustainable and reagent-free analytical technologies. The research shows how miniaturized NIR spectroscopy can significantly reduce analysis time, eliminate the use of harmful reagents, and improve operational efficiency in production lines (1)
As demand grows for healthier, traceable, and efficiently produced food products, such innovations could help ensure quality and safety while reducing the environmental impact of producing and testing milk products.
References
- Peng, H.; Yi, L.; Fan, X.; Zhang, J.; et al. Near-infrared Spectroscopy Assisted by Random Forest for Predicting the Physicochemical Indicators of Yak Milk Powder. Food Chem. 2025, 478, 143555. DOI: 10.1016/j.foodchem.2025.143555
- Mitchell, M. Why Buy a Cow When You Can Get Yak Milk Instead? Heifer International. Available at: https://www.heifer.org/blog/why-buy-a-cow-when-you-can-get-yak-milk-instead.html#:~:text=Yaks%20produce%20milk%20tinted%20with,medium%20for%20traditional%20Tibetan%20sculpture. (accessed 2025-05-27).
- Xu, X.; Xiao, W.; Cao, Y.; Zhang, Z. Identification of Different Dairy Products Using Raman Spectroscopy Combined with Fused Lasso Distributionally Robust Logistic Regression. Spectroscopy 2025, 40 (1), 20–25. DOI: 10.56530/spectroscopy.sl5185z2
- Wetzel, W. Revolutionizing Dairy Safety: The Role of FT-IR Spectroscopy. Spectroscopy 2024, 39 (6), 50. Available at: https://www.spectroscopyonline.com/view/revolutionizing-dairy-safety-the-role-of-ft-ir-spectroscopy