Animals (Dec 2021)

Strategy to Predict High and Low Frequency Behaviors Using Triaxial Accelerometers in Grazing of Beef Cattle

  • Rafael N. Watanabe,
  • Priscila A. Bernardes,
  • Eliéder P. Romanzini,
  • Larissa G. Braga,
  • Thaís R. Brito,
  • Ronyatta W. Teobaldo,
  • Ricardo A. Reis,
  • Danísio P. Munari

DOI
https://doi.org/10.3390/ani11123438
Journal volume & issue
Vol. 11, no. 12
p. 3438

Abstract

Read online

Knowledge of animal behavior can be indicative of the well-being, health, productivity, and reproduction of animals. The use of accelerometers to classify and predict animal behavior can be a tool for continuous animal monitoring. Therefore, the aim of this study was to provide strategies for predicting more and less frequent beef cattle grazing behaviors. The behavior activities observed were grazing, ruminating, idle, water consumption frequency (WCF), feeding (supplementation) and walking. Three Machine Learning algorithms: Random Forest (RF), Support Vector Machine (SVM) and Naïve Bayes Classifier (NBC) and two resample methods: under and over-sampling, were tested. Overall accuracy was higher for RF models trained with the over-sampled dataset. The greatest sensitivity (0.808) for the less frequent behavior (WCF) was observed in the RF algorithm trained with the under-sampled data. The SVM models only performed efficiently when classifying the most frequent behavior (idle). The greatest predictor in the NBC algorithm was for ruminating behavior, with the over-sampled training dataset. The results showed that the behaviors of the studied animals were classified with high accuracy and specificity when the RF algorithm trained with the resampling methods was used. Resampling training datasets is a strategy to be considered, especially when less frequent behaviors are of interest.

Keywords