Technical note: Mining data from on-farm electronic equipment to identify the time dairy cows spend away from the pen.
The electronic equipment used on farms can be creatively co-opted to collect data for which it was not originally designed. In the current study, we describe 2 novel algorithms that harvest data from electronic feeding equipment and data loggers used to record standing and lying behavior, to estimate the time that dairy cows spend away from their pen to be milked. Our 2 objectives were to (1) measure the ability of the first algorithm to estimate the time cows spend away from the pen as a group and (2) determine the capability of a second algorithm to estimate the time it takes for individual cows to return to their pen after being milked. To achieve these objectives, we conducted 2 separate experiments: first, to estimate group time away, the feeding behavior of 1 pen of 20 Holstein cows was monitored electronically for 1 mo; second, to measure individual latency to return to the pen, feeding and lying behavior of 12 healthy Holstein cows was monitored electronically from parturition to 21 d in milk. For both experiments, we monitored the time each individual cow exited the pen before each milking and when she returned to the pen after milking using video recordings. Estimates generated by our algorithms were then compared with the times captured from the video recordings. Our first algorithm provided reliable pen-based estimates for the minimum time cows spent away from the pen to be milked in the morning [coefficient of determination (R2) = 0.92] and afternoon (R2= 0.96). The second algorithm was able to estimate of the time it took for individual cows to return to the pen after being milked in the morning (R2= 0.98), but less so in the afternoon (R2= 0.67). This study illustrates how data from electronic systems used to assess feeding and lying behavior can be mined to estimate novel measures. New work is now required to improve the estimates of our algorithm for individuals, for example by adding data from other electronic monitoring systems on the farm.
Animal Welfare Program, Faculty of Land and Food Systems, University of British Columbia, Vancouver, BC, V6T 1Z4, Canada.
A J
AJ
Thompson
Animal Welfare Program, Faculty of Land and Food Systems, University of British Columbia, Vancouver, BC, V6T 1Z4, Canada.
D M
DM
Weary
Animal Welfare Program, Faculty of Land and Food Systems, University of British Columbia, Vancouver, BC, V6T 1Z4, Canada. Electronic address: nina@mail.ubc.ca.
M A G
MAG
von Keyserlingk
D000818:Animals; D001522:Behavior, Animal; D002417:Cattle; D003612:Dairying; D057225:Data Mining; D000072480:Farms; D005247:Feeding Behavior; D005260:Female; D007774:Lactation; D008892:Milk
accelerometer; behavior; cow comfort; precision farming; welfare