Perttu, Rielle KPeiter, MateusBresolin, TiagoDórea, Joao R REndres, Marcia I2023-10-262023-10-262023-10-26Perttu RK, Peiter M, Bresolin T, Dórea JRR, Endres MI. Predictive models for disease detection in group-housed preweaned dairy calves using data collected from automated milk feeders. Journal of Dairy Science. Published online September 9, 2023. doi:10.3168/jds.2022-23037https://hdl.handle.net/11299/257784Supplemental tables that can't be included with the Journal of Dairy Science publication are added to this copy of the article.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. Supplemental tables are included herein.CC-BY 4.0https://creativecommons.org/licenses/by/4.0/calf behaviormachine learningcalf healthfield study tablesPredictive models for disease detection in group-housed preweaning dairy calves using data collected from automated milk feeders with supplemental tablesArticle