(click to copy)

Publication

Improving lameness detection in cows: A machine learning algorithm application

The deployment of diverse data-generating technologies in livestock farming holds the promise of early disease detection and improved animal well-being.

In this paper, we combine routinely collected dairy farm and herd data with weather and high-frequency sensor data from 6 farms to predict new lameness events in various future periods, spanning from the following day to 3 wk.

A Random Forest classifier, using input features selected by the Boruta algorithm, was used for the prediction task; effects of individual features were further assessed using partial dependence plots.

We achieve precision scores of up to 93% when predicting lameness for the next 3 wk and when using information from the last 3 wk, combined with a balanced accuracy of 79%. Removing sensor data results has a tendency to reduce the precision for predictions, especially when using information from the last 1, 2, or 3 wk.

Moving to a larger dataset (without sensor data) of 44 farms keeps the similar balanced accuracy but reduces precision by more than 30%, revealing a substantial a trade-off in model quality between false positives (false lameness alerts) and false negatives (missed lameness events).

Sensor data holds promise to further improve the precision of these models, but can be partially compensated by high-resolution data from other systems, such as automated milking systems.

E. Dervic, C. Matzhold, C. Egger-Danner, F. Steininger, P. Klimek, Improving lameness detection in cows: A machine learning algorithm application, Journal of Dairy Science 107(12) (2024) 11550-11562.

Elma Dervic © Verena Ahne

Elma Dervic

Caspar Matzhold

Peter Klimek, Faculty member at the Complexity Science Hub

Peter Klimek

0 Pages 0 Press 0 News 0 Events 0 Projects 0 Publications 0 Person 0 Visualisation 0 Art

Signup

CSH Newsletter

Choose your preference
   
Data Protection*