Development and evaluation of predictive models for pregnancy risk in UK dairy cows

One suggested approach to improve the reproductive performance of dairy herds is through the targeted management of subgroups of biologically similar animals, such as those with similar probabilities of becoming pregnant, termed pregnancy risk. We aimed to use readily available farm data to develop predictive models of pregnancy risk in dairy cows. Data from a convenience sample of 108 dairy herds in the UK were collated, and each herd was randomly allocated, at a ratio of 80:20, to either training or testing datasets. Following data cleaning, there were a total of 78 herds in the training dataset and 20 herds in the testing dataset. Data were further split by parity into nulliparous, primiparous, and multiparous subsets. An XGBoost model was trained to predict the insemination outcome in each parity subset, with predictors from farm records of breeding, calving, and milk recording. Training data comprised 74,511 inseminations in 45,909 nulliparous animals, 86,420 inseminations in 39,439 primiparous animals, and 158,294 inseminations in 32,520 multiparous animals. The final models were evaluated by predicting with the testing data, comprising 31,740 inseminations in 19,647 nulliparous animals, 38,588 inseminations in 16,215 primiparous animals, and 65,049 inseminations in 12,439 multiparous animals. Model discrimination was assessed by calculating the area under receiver operating characteristic curves (AUC); model calibration was assessed by plotting calibration curves and compared across test herds by calculating the expected calibration error (ECE) in each test herd. The models were unable to discriminate between insemination outcomes with high accuracy, with an AUC of 0.63, 0.59, and 0.62 in the nulliparous, primiparous, and multiparous subsets, respectively. The models were generally well calibrated, meaning the model-predicted pregnancy risks were similar to the observed pregnancy risks. The mean (SD) ECE in the test herds was 0.038 (0.023), 0.028 (0.012), and 0.020 (0.008) in the nulliparous, primiparous, and multiparous subsets respectively. The predictive models reported here could theoretically be used to identify subgroups of animals with similar pregnancy risk to facilitate targeted reproductive management; or provide information about cows' relative pregnancy risk compared with the herd average, which may support on-farm decision making. Further research is needed to evaluate the generalizability of these predictive models and understand the source of variation in ECE between herds; however, this study demonstrates that it is possible to accurately predict pregnancy risk in dairy cows using readily available farm data.

Authors

Institutions

Publication Details

Journal
Journal of Dairy Science
Published
2024-08-31
DOI
https://doi.org/10.3168/jds.2023-24623
Citations
3
Primary Topic
Genetic and phenotypic traits in livestock
Type
article
Field-Weighted Citation Impact
1.65

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development and evaluation of predictive models for pregnancy risk in UK dairy cows

Martin J. Green, Rachel K. Clifton, Andrew Bradley, Matthew Barden et al.
3 citations
Journal of Dairy Science
Genetic and phenotypic traits in livestock
1.65
article

Development and evaluation of predictive models for pregnancy risk in UK dairy cows

Martin J. Green, Rachel K. Clifton, Andrew Bradley, Matthew Barden, Kate Lewis, Edna Can, Al Manning, Robert Hyde, Luke O’Grady
article en
3 citations

Abstract

One suggested approach to improve the reproductive performance of dairy herds is through the targeted management of subgroups of biologically similar animals, such as those with similar probabilities of becoming pregnant, termed pregnancy risk. We aimed to use readily available farm data to develop predictive models of pregnancy risk in dairy cows. Data from a convenience sample of 108 dairy herds in the UK were collated, and each herd was randomly allocated, at a ratio of 80:20, to either training or testing datasets. Following data cleaning, there were a total of 78 herds in the training dataset and 20 herds in the testing dataset. Data were further split by parity into nulliparous, primiparous, and multiparous subsets. An XGBoost model was trained to predict the insemination outcome in each parity subset, with predictors from farm records of breeding, calving, and milk recording. Training data comprised 74,511 inseminations in 45,909 nulliparous animals, 86,420 inseminations in 39,439 primiparous animals, and 158,294 inseminations in 32,520 multiparous animals. The final models were evaluated by predicting with the testing data, comprising 31,740 inseminations in 19,647 nulliparous animals, 38,588 inseminations in 16,215 primiparous animals, and 65,049 inseminations in 12,439 multiparous animals. Model discrimination was assessed by calculating the area under receiver operating characteristic curves (AUC); model calibration was assessed by plotting calibration curves and compared across test herds by calculating the expected calibration error (ECE) in each test herd. The models were unable to discriminate between insemination outcomes with high accuracy, with an AUC of 0.63, 0.59, and 0.62 in the nulliparous, primiparous, and multiparous subsets, respectively. The models were generally well calibrated, meaning the model-predicted pregnancy risks were similar to the observed pregnancy risks. The mean (SD) ECE in the test herds was 0.038 (0.023), 0.028 (0.012), and 0.020 (0.008) in the nulliparous, primiparous, and multiparous subsets respectively. The predictive models reported here could theoretically be used to identify subgroups of animals with similar pregnancy risk to facilitate targeted reproductive management; or provide information about cows' relative pregnancy risk compared with the herd average, which may support on-farm decision making. Further research is needed to evaluate the generalizability of these predictive models and understand the source of variation in ECE between herds; however, this study demonstrates that it is possible to accurately predict pregnancy risk in dairy cows using readily available farm data.

Journal of Dairy ScienceVol. 107(12)
University of Nottingham (GB), University of Liverpool (GB)
Innovate UK
Zero hunger
Openalex Percentile: Top 15%
Genetic and phenotypic traits in livestock
1.65
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.