Dairy cattle behavior classifications based on decision tree learning using 3-axis neck-mounted accelerometers

Anim Sci J. 2019 Apr;90(4):589-596. doi: 10.1111/asj.13184. Epub 2019 Feb 17.

Abstract

Demand has been increasing recently for an automated monitoring system of animal behavior as a tool for the management of livestock animals. This study investigated the association between the behavior of dairy cattle and the acceleration data collected using three-axis neck-mounted accelerometers, as well as the feasibility of improving the precision of behavior classifications through machine learning. In total 38 Holstein dairy cows were used, and kept in four different farms. A logger was mounted to each collar to obtain acceleration data for calculating the activity level and variations. At the same time the behavior of the cattle was observed visually. Characteristic acceleration waves were recorded for eating, rumination, and lying, respectively; and the activity level and variations were significantly different among these behaviors (p < 0.01). Decision tree learning was performed on the data set from Farm A and validated its precision; which proved to be 99.2% in cross-validation, and 100% in test data sets from Farms B to D. This study showed that highly precise classifications for eating, rumination, and lying is possible by using decision tree learning to calculate the activity level and variations of cattle based on the data obtained by three-axis accelerometers mounted to a collar.

Keywords: behavior classification; dairy cattle; machine learning; three-axis accelerometer.

MeSH terms

  • Accelerometry / instrumentation*
  • Animals
  • Behavior, Animal / classification*
  • Behavior, Animal / physiology*
  • Cattle / psychology*
  • Dairying*
  • Decision Trees*
  • Female
  • Machine Learning
  • Monitoring, Physiologic / instrumentation*
  • Monitoring, Physiologic / methods
  • Monitoring, Physiologic / veterinary*