Predictive models for disease detection in group-housed preweaning dairy calves using data collected from automated milk feeders

J Dairy Sci. 2024 Jan;107(1):331-341. doi: 10.3168/jds.2022-23037. Epub 2023 Sep 9.

Abstract

In the United States, dairy calves are typically housed individually due to the perception of reduced risk of spreading infectious diseases between calves and the ability to monitor health on an individual calf basis. However, automated milk feeders (AMF) can provide individual monitoring of group-housed calves while allowing them to express more natural feeding behaviors and interact with each other. Research has shown that feeding behaviors recorded by AMF can be a helpful screening tool for detecting disease in dairy calves. Altogether, there is an opportunity to use the data from AMF to create a more robust and efficient model to predict disease, reducing the need for visual observation. Therefore, the objective of this observational study was to predict disease in preweaning dairy calves using AMF feeding behavior data and machine learning (ML) algorithms. This study was conducted on a dairy farm located in the Upper Midwest United States and visited weekly from July 2018 to May 2019. During farm visits, AMF data and calves' treatment records were collected, and calves were visually health-scored for attitude, ear position, ocular discharge, nasal discharge, hide dirtiness, and cough score. The final datasets used for the analyses consisted of 740 and 741 calves, with 1,007 (healthy = 594 and sick = 413) and 1,044 (healthy = 560 and sick = 484) observations (health events) for Data 1 and Data 2, respectively. Data 1 included only the weekly calf health scores observed by research personnel, whereas Data 2 included primarily daily calf treatment records by farm staff in addition to weekly health scores. Calf visit-level feeding behaviors from AMF data included milk intake (mL/d), drinking speed (mL/min), visit duration (min), rewarded (with milk being offered) and unrewarded (without milk) visits (number per d), and the interval between visits (min). Three approaches were used to predict health status: generalized linear model, random forest, and gradient boosting machine. A total of 16 models were built using different combinations of behavior parameters, including the number of rewarded visits, number of unrewarded visits, visit duration, the interval between visits, intake, intake divided by rewarded visits, drinking speed, and drinking speed divided by rewarded visits, and also calf age at the sick day as predictor variables. Of all algorithms, random forest and gradient boosting had the best performance predicting the health status of dairy calves. The results indicated that weekly health scores were not enough to predict calf health status. However, daily treatment records and AMF data were sufficient for creating predictive algorithms (e.g., F1-scores of 0.775 and 0.784 for random forest and gradient boosting, Data 2). This study suggests that ML was effective in determining the specific visit-level feeding behaviors that can be used to predict disease in group-housed preweaning dairy calves. Implementing these ML algorithms could reduce the need for visual calf observation on farms, minimizing labor time and improving calf health.

Keywords: calf behavior; calf health; machine learning.

Publication types

  • Observational Study

MeSH terms

  • Animal Feed
  • Animals
  • Cattle
  • Cattle Diseases* / prevention & control
  • Diarrhea / veterinary
  • Diet / veterinary
  • Farms
  • Feeding Behavior
  • Humans
  • Milk*
  • Weaning