Supervised machine learning approaches for early detection of metabolic and udder health disorders in dairy cows using sensor-derived data
Akvilė Girdauskaitė, Samanta Grigė, Karina Džermeikaitė, Justina Krištolaitytė, Dovilė Malašauskienė, Mindaugas Televičius, Greta Šertvytytė, Gabija Lembovičiūtė,
Lithuanian University of Health Sciences
Key points
From the paper's conclusion- These results demonstrate that integrating sensor-derived milk and behavioral data with ML algorithms enables early, non-invasive detection of health disorders, supporting proactive herd management.
Abstract
This study assessed five supervised machine learning (ML) models. Automated devices that continuously captured milk composition and behavioral data were used to monitor 206 Holstein cows from two commercial dairy farms. Milk yield, fat, protein, lactose, fat-to-protein ratio (FPR), somatic cell count (SCC), rumination time (RT), and body temperature were among the parameters that were noted. Cows were categorized as clinically healthy ( n = 45), subclinical ketosis ( n = 91), subclinical mastitis ( n = 28), or clinical mastitis ( n = 42) based on clinical examination, blood β -hydroxybutyrate (BHB) concentration, and milk indicators. Random Forest achieved the highest classification accuracy (0.857), followed by Gradient Boosting and Logistic Regression (0.833), while Decision Tree and Multilayer Perceptron reached 0.810. Compared to clinically healthy cows (4.45 ± 0.54%; 477.0 ± 36.0 min/day), subclinical ketosis cows had a greater milk fat content (5.21 ± 0.72%) and a shorter RT (336.9 ± 94.2 min/day). In comparison to clinically healthy cows (64.0 × 10 3 cells/mL; 4.63 ± 0.16%), cows with clinical mastitis showed significantly greater SCC (416.8 × 10 3 cells/mL) and lower lactose levels (4.56 ± 0.24%). These results demonstrate that integrating sensor-derived milk and behavioral data with ML algorithms enables early, non-invasive detection of health disorders, supporting proactive herd management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Comparative analysis of artificial neural networks and classical machine learning models for predicting subclinical mastitis in dairy cows, with SHAP-based interpretation of predictions.Journal of dairy science · 2026
- Detecting subclinical mastitis in dairy cattle by using machine learning techniques to analyse automated milking system data.The Veterinary record · 2026
- Construction and Evaluation of a Ketosis Prediction Model Based on Milk MIR Spectra and Feature Wavenumber Selection in Dairy Cows.Animals : an open access journal from MDPI · 2026
- Research trends and evidence landscape of metabolomics and machine learning in the diagnosis of subclinical ketosis in dairy cows: a systematic review and bibliometric analysis.Research in veterinary science · 2026
- Performance of a Sensor-Based Health Monitoring System for the Detection of Clinical Mastitis in Dairy Cows.Animals : an open access journal from MDPI · 2026
- Behavioral indicators of mastitis: feeding-to-rumination ratio as a predictive tool in Holstein–Czech Fleckvieh crossbreedsCogent Food & Agriculture · 2026