In-line near-infrared analysis of milk coupled with machine learning methods for the daily prediction of blood metabolic profile in dairy cattle
- PMID: 35577915
- PMCID: PMC9110744
- DOI: 10.1038/s41598-022-11799-0
In-line near-infrared analysis of milk coupled with machine learning methods for the daily prediction of blood metabolic profile in dairy cattle
Abstract
Precision livestock farming technologies are used to monitor animal health and welfare parameters continuously and in real time in order to optimize nutrition and productivity and to detect health issues at an early stage. The possibility of predicting blood metabolites from milk samples obtained during routine milking by means of infrared spectroscopy has become increasingly attractive. We developed, for the first time, prediction equations for a set of blood metabolites using diverse machine learning methods and milk near-infrared spectra collected by the AfiLab instrument. Our dataset was obtained from 385 Holstein Friesian dairy cows. Stacking ensemble and multi-layer feedforward artificial neural network outperformed the other machine learning methods tested, with a reduction in the root mean square error of between 3 and 6% in most blood parameters. We obtained moderate correlations (r) between the observed and predicted phenotypes for γ-glutamyl transferase (r = 0.58), alkaline phosphatase (0.54), haptoglobin (0.66), globulins (0.61), total reactive oxygen metabolites (0.60) and thiol groups (0.57). The AfiLab instrument has strong potential but may not yet be ready to predict the metabolic stress of dairy cows in practice. Further research is needed to find out methods that allow an improvement in accuracy of prediction equations.
© 2022. The Author(s).
Conflict of interest statement
The authors declare no competing interests.
Figures



Similar articles
-
Real-time milk analysis integrated with stacking ensemble learning as a tool for the daily prediction of cheese-making traits in Holstein cattle.J Dairy Sci. 2022 May;105(5):4237-4255. doi: 10.3168/jds.2021-21426. Epub 2022 Mar 10. J Dairy Sci. 2022. PMID: 35282909
-
Prediction of detailed blood metabolic profile using milk infrared spectra and machine learning methods in dairy cattle.J Dairy Sci. 2023 May;106(5):3321-3344. doi: 10.3168/jds.2022-22454. Epub 2023 Apr 5. J Dairy Sci. 2023. PMID: 37028959
-
Prediction of blood β-hydroxybutyrate content and occurrence of hyperketonemia in early-lactation, pasture-grazed dairy cows using milk infrared spectra.J Dairy Sci. 2019 Jul;102(7):6466-6476. doi: 10.3168/jds.2018-15988. Epub 2019 May 10. J Dairy Sci. 2019. PMID: 31079906
-
The potential of Fourier transform infrared spectroscopy of milk samples to predict energy intake and efficiency in dairy cows.J Dairy Sci. 2016 May;99(5):4056-4070. doi: 10.3168/jds.2015-10051. J Dairy Sci. 2016. PMID: 26947296 Review.
-
Breeding for organic dairy farming: what types of cows are needed?J Dairy Res. 2019 Feb;86(1):3-12. doi: 10.1017/S0022029919000141. J Dairy Res. 2019. PMID: 30907720 Review.
Cited by
-
Attomolar-sensitive milk fever sensor using 3D-printed multiplex sensing structures.Nat Commun. 2025 Jan 2;16(1):265. doi: 10.1038/s41467-024-55535-w. Nat Commun. 2025. PMID: 39747135 Free PMC article.
-
Biological Health Markers Associated with Oxidative Stress in Dairy Cows during Lactation Period.Metabolites. 2023 Mar 9;13(3):405. doi: 10.3390/metabo13030405. Metabolites. 2023. PMID: 36984846 Free PMC article. Review.
-
Integrating on-farm and genomic information improves the predictive ability of milk infrared prediction of blood indicators of metabolic disorders in dairy cows.Genet Sel Evol. 2023 Apr 3;55(1):23. doi: 10.1186/s12711-023-00795-1. Genet Sel Evol. 2023. PMID: 37013482 Free PMC article.
-
Genomic prediction of blood biomarkers of metabolic disorders in Holstein cattle using parametric and nonparametric models.Genet Sel Evol. 2024 Apr 29;56(1):31. doi: 10.1186/s12711-024-00903-9. Genet Sel Evol. 2024. PMID: 38684971 Free PMC article.
-
Relationships Among In-Line Milk Fat-to-Protein Ratio, Metabolic Profile, and Inflammatory Biomarkers During Early Stage of Lactation in Dairy Cows.Vet Sci. 2025 Feb 19;12(2):187. doi: 10.3390/vetsci12020187. Vet Sci. 2025. PMID: 40005947 Free PMC article.
References
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources