This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessFeature PaperArticle
Machine Learning Approaches for the Prediction of Displaced Abomasum in Dairy Cows Using a Highly Imbalanced Dataset
by
Zeinab Asgari
Zeinab Asgari 1
,
Ali Sadeghi-Sefidmazgi
Ali Sadeghi-Sefidmazgi 2
,
Abbas Pakdel
Abbas Pakdel 1 and
Saleh Shahinfar
Saleh Shahinfar
Saleh Shahinfar is a Senior Researcher at the Department of Health
and Aged Care, Canberra, He his [...]
Saleh Shahinfar is a Senior Researcher at the Department of Health
and Aged Care, Canberra, Australia. He completed his Ph.D. in Dairy Science at
the University of Wisconsin-Madison, USA. In 2016 he worked as a post-doctoral
fellowship at the University of New England in Australia. His research
interests are machine learning, deep learning, big data, fuzzy logic,
evolutionary algorithms, animal production, genetics, and breeding.
3,*
1
Department of Animal Sciences, College of Agriculture, Isfahan University of Technology, Isfahan 84156-83111, Iran
2
Department of Animal Science, University of Tehran, Karaj 3158711167-4111, Iran
3
Department of Health and Aged Care, Canberra, ACT 2606, Australia
*
Author to whom correspondence should be addressed.
Submission received: 14 April 2025
/
Revised: 1 June 2025
/
Accepted: 4 June 2025
/
Published: 20 June 2025
Simple Summary
Displaced abomasum (DA) is one of the costliest health problems as well as a welfare concern in dairy cows. Therefore, the predictive potential of DA-susceptible cases is of great importance to reduce economic losses. Hence, this study aimed for early prediction of DA by using five machine learning algorithms, namely Logistic Regression (LR), Naïve Bayes (NB), Decision Tree, Random Forest (RF) and Gradient Boosting Machines (GBM), to predict cases of DA. Model performance metrics indicated that among the algorithms considered in this study, RF and GBM were significantly better in terms of F2 (0.32) and TPR (0.75 and 0.70, respectively). Therefore, given the highly unbalanced data and that DA is a complex feature, machine learning (ML) methods were shown to be promising for predicting cases susceptible to DA at the herd level. This prediction tool can aid dairy farmers in making preventative management decisions by identifying cows susceptible to DA.
Abstract
Displaced abomasum (DA) is a digestive disorder that causes severe economic losses through the reduction in milk yield and early culling of cows. The predictive potential of DA-susceptible cases is of great importance to reduce economic losses. This study aimed for early prediction of DA. However, identifying cows at risk of DA can be difficult because DA is a complex trait and its incidence is low. For this purpose, in this study, the ability of five machine learning algorithms, namely Logistic Regression (LR), Naïve Bayes (NB), Decision Tree, Random Forest (RF) and Gradient Boosting Machines (GBM), to predict cases of DA was investigated. For these predictions, 20 herd–cow-specific features and sire genetic information from 7 Holstein dairy herds that calved between 2010 and 2020 were available. Model performance metrics indicated that GBM and RF algorithms outperformed the others in predicting DA with F2 measures of 0.32. The true positive rate in the RF was the highest compared to other methods at 0.75, followed by GBM at 0.70. Given the highly imbalanced data, this study showed the potential in forecasting cases susceptible to DA. This prediction tool can aid dairy farmers in making preventative management decisions by identifying cows susceptible to DA.
Share and Cite
MDPI and ACS Style
Asgari, Z.; Sadeghi-Sefidmazgi, A.; Pakdel, A.; Shahinfar, S.
Machine Learning Approaches for the Prediction of Displaced Abomasum in Dairy Cows Using a Highly Imbalanced Dataset. Animals 2025, 15, 1833.
https://doi.org/10.3390/ani15131833
AMA Style
Asgari Z, Sadeghi-Sefidmazgi A, Pakdel A, Shahinfar S.
Machine Learning Approaches for the Prediction of Displaced Abomasum in Dairy Cows Using a Highly Imbalanced Dataset. Animals. 2025; 15(13):1833.
https://doi.org/10.3390/ani15131833
Chicago/Turabian Style
Asgari, Zeinab, Ali Sadeghi-Sefidmazgi, Abbas Pakdel, and Saleh Shahinfar.
2025. "Machine Learning Approaches for the Prediction of Displaced Abomasum in Dairy Cows Using a Highly Imbalanced Dataset" Animals 15, no. 13: 1833.
https://doi.org/10.3390/ani15131833
APA Style
Asgari, Z., Sadeghi-Sefidmazgi, A., Pakdel, A., & Shahinfar, S.
(2025). Machine Learning Approaches for the Prediction of Displaced Abomasum in Dairy Cows Using a Highly Imbalanced Dataset. Animals, 15(13), 1833.
https://doi.org/10.3390/ani15131833
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.