Heat stress is increasingly affecting the production, health, and reproduction of dairy cows. Previous studies used limited variables as predictors of physiological responses, and the developed models poorly predict animal responses in evaporatively cooled environments. The aim of this study was to build machine learning models using comprehensive variables to predict physiological responses of dairy cows raised on an actual dairy farm equipped with sprinklers. Four algorithms including random forests, gradient boosting machines, artificial neural networks (ANN), and regularized linear regression were used to predict respiration rate (RR), vaginal temperature (VT), and eye temperature (ET) with 13 predictor variables from three dimensions: production, cow-related, and environmental factors. The classification performance of the predicted values in recognizing individual heat stress states was compared with commonly used thermal indices. The performance on the testing sets shows that the ANN models yielded the lowest root mean squared error for predicting RR (13.24 breaths/min), VT (0.30 °C), and ET (0.29 °C). The results interpreted with partial dependence plots and Local Interpretable Model-agnostic Explanations show that P.M. measurements and winter calving contributed most to high RR and VT predictions, whereas lying posture, high ambient temperature, and low wind speed contributed most to high ET predictions. When determining the ground-truth heat stress state by the actual RR, the best classification performance was yielded by the predicted RR with an accuracy of 77.7%; when determining the ground-truth heat stress state by the actual VT, the best classification performance was yielded by the predicted VT with an accuracy of 75.3%. This study demonstrates the ability of ANN in predicting physiological responses of dairy cows raised on actual farms with access to sprinklers. Adding more predictors other than meteorological parameters into training could increase predictive performance. Recognizing the heat stress state of individual animals, especially those at the highest risk, based on the predicted physiological responses and their interpretations can inform better heat abatement decisions.
Read full abstract