Machine Learning Methods and Visual Observations to Categorize Behavior of Grazing Cattle Using Accelerometer Signals

Sensors (Basel). 2024 May 16;24(10):3171. doi: 10.3390/s24103171.

Abstract

Accelerometers worn by animals produce distinct behavioral signatures, which can be classified accurately using machine learning methods such as random forest decision trees. The objective of this study was to identify accelerometer signal separation among parsimonious behaviors. We achieved this objective by (1) describing functional differences in accelerometer signals among discrete behaviors, (2) identifying the optimal window size for signal pre-processing, and (3) demonstrating the number of observations required to achieve the desired level of model accuracy,. Crossbred steers (Bos taurus indicus; n = 10) were fitted with GPS collars containing a video camera and tri-axial accelerometers (read-rate = 40 Hz). Distinct behaviors from accelerometer signals, particularly for grazing, were apparent because of the head-down posture. Increasing the smoothing window size to 10 s improved classification accuracy (p < 0.05), but reducing the number of observations below 50% resulted in a decrease in accuracy for all behaviors (p < 0.05). In-pasture observation increased accuracy and precision (0.05 and 0.08 percent, respectively) compared with animal-borne collar video observations.

Keywords: accelerometers; activity budget; beef cattle; behavior landscapes; precision livestock technology; spatially explicit modeling.

MeSH terms

  • Accelerometry* / methods
  • Animals
  • Behavior, Animal* / physiology
  • Cattle
  • Machine Learning*
  • Male
  • Signal Processing, Computer-Assisted
  • Video Recording / methods