Evaluation of six machine learning models for identifying subclinical ketosis and ruminal acidosis in dairy cattle, suggesting the use of precision livestock technologies.
This study evaluated six supervised machine learning (ML) models for early detection of subclinical ketosis and low-grade ruminal acidosis in dairy cows during the transition period. Ninety-four Holstein cows were monitored for 21 days postpartum using in-line milk analyzers and intraruminal sensors that continuously recorded milk composition, behavioral, and physiological parameters. Based on clinical examination, blood β-hydroxybutyrate concentration, and fat-to-protein ratio, cows were classified as healthy (n = 44), subclinical ketosis (n = 24), or subclinical acidosis (n = 26). Among the tested models, Random Forest and XGBoost achieved perfect accuracy within this dataset, while Logistic Regression reached 89.5%, Decision Tree 84.2%, and both Naive Bayes and Support Vector Machine 78.9%. These results suggest that ensemble approaches, particularly Random Forest and XGBoost, show strong potential for integration with precision livestock technologies, but their apparent performance should be interpreted cautiously and confirmed in larger, multi-farm studies.
No takes yet. Share an insight, caveat, or question.
Arlauskaitė et al. (2025) studied this question.