High Precision Classification of Resting and Eating Behaviors of Cattle by Using a Collar-Fitted Triaxial Accelerometer Sensor

Sensors (Basel). 2022 Aug 9;22(16):5961. doi: 10.3390/s22165961.

Abstract

Cattle are less active than humans. Hence, it was hypothesized in this study that transmitting acceleration signals at a 1 min sampling interval to reduce storage load has the potential to improve the performance of motion sensors without affecting the precision of behavior classification. The behavior classification performance in terms of precision, sensitivity, and the F1-score of the 1 min serial datasets segmented in 3, 4, and 5 min window sizes based on nine algorithms were determined. The collar-fitted triaxial accelerometer sensor was attached on the right side of the neck of the two fattening Korean steers (age: 20 months) and the steers were observed for 6 h on day one, 10 h on day two, and 7 h on day three. The acceleration signals and visual observations were time synchronized and analyzed based on the objectives. The resting behavior was most correctly classified using the combination of a 4 min window size and the long short-term memory (LSTM) algorithm which resulted in 89% high precision, 81% high sensitivity, and 85% high F1-score. High classification performance (79% precision, 88% sensitivity, and 83% F1-score) was also obtained in classifying the eating behavior using the same classification method (4 min window size and an LSTM algorithm). The most poorly classified behavior was the active behavior. This study showed that the collar-fitted triaxial sensor measuring 1 min serial signals could be used as a tool for detecting the resting and eating behaviors of cattle in high precision by segmenting the acceleration signals in a 4 min window size and by using the LSTM classification algorithm.

Keywords: cattle behavior; machine learning; sampling interval; sampling rate; triaxial accelerometer.

MeSH terms

  • Acceleration*
  • Accelerometry / methods
  • Algorithms
  • Animals
  • Cattle
  • Data Collection
  • Feeding Behavior*
  • Humans
  • Infant