Assessment of reproductive performance in dairy cows using explainable machine learning.
Elif Çelik Gürbulak, Uğur Kara, Esra Canooğlu, Hazal Aysın Arslan, Ece Çetin, Mehmet Demirel, Kutlay Gürbulak
Department of Biometrics, Faculty of Veterinary Medicine, Erciyes University, Kayseri, Türkiye. · Department of Obstetrics and Gynecology, Faculty of Veterinary Medicine, Çukurova University, Adana, Türkiye.
Key points
From the paper's conclusion- Nevertheless, SHAP analysis provided transparent global and local explanations of model behavior, demonstrating how explainable machine learning can be applied to investigate reproductive performance in dairy cows.
Abstract
Reproductive performance is a key determinant of productivity and economic sustainability in dairy farming and is influenced by a complex interaction of biological and management-related factors. This study aimed to evaluate reproductive performance in dairy cows and to identify the most influential risk factors at both global and individual animal levels using an explainable machine learning framework. An eXtreme Gradient Boosting (XGBoost) regression model was applied to evaluate reproductive performance based on days to first insemination. Model performance was assessed using standard regression metrics. Model interpretability was achieved through SHapley Additive exPlanations (SHAP), allowing both global feature importance assessment and local, animal-specific interpretations. SHAP analysis indicated that age had the greatest contribution to the model predictions, followed by mastitis, retained placenta, ovarian cysts, ketosis, and metritis. The direction and magnitude of the SHAP contributions varied across individual animals, highlighting heterogeneity in the model explanations. Model performance on the independent test dataset (RMSE = 39.05 d, MAE = 18.58 d, R 2 = 0.01) indicated limited predictive generalizability. Nevertheless, SHAP analysis provided transparent global and local explanations of model behavior, demonstrating how explainable machine learning can be applied to investigate reproductive performance in dairy cows. These findings should be regarded as a methodological demonstration, and further studies using larger, more comprehensive datasets that include a broader range of variables are required before clinical decision-support applications can be considered.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable ensemble machine learning for pregnancy screening in dairy cows using routine dairy herd improvement records.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
- Data-driven insights into priority predictors associated with conception success in indigenous goats in UgandaDiscover Computing · 2026
- 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
- Machine learning prediction of pregnancy outcomes after vitrified-warmed bovine embryo transfer using field-derived variables.Theriogenology · 2026
- Predicting Pregnancy After Fixed-Time Artificial Insemination in Goats: Comparative Performance of Multivariable Logistic Regression and Random Forest Models.Animals : an open access journal from MDPI · 2026