Sow-activity classification from acceleration patterns: A machine learning approach

  • Authors:
  • Hugo Jair Escalante;Sara V. Rodriguez;Jorge Cordero;Anders Ringgaard Kristensen;CéCile Cornou

  • Affiliations:
  • Computational Sciences Department, Instituto Nacional de Astrofísica, íptica y Electrónica, Tonantzintla, 72840 Puebla, Mexico;Graduate Program in Systems Engineering, Universidad Autónoma de Nuevo León, San Nicolás de los Garza, 66450 Nuevo Leon, Mexico;Graduate Program in Systems Engineering, Universidad Autónoma de Nuevo León, San Nicolás de los Garza, 66450 Nuevo Leon, Mexico;HERD - Centre for Herd-oriented Education, Research and Development, Department of Large Animal Sciences, University of Copenhagen, Groennegaardsvej 2, DK-1870 Frederiksberg C, Denmark;HERD - Centre for Herd-oriented Education, Research and Development, Department of Large Animal Sciences, University of Copenhagen, Groennegaardsvej 2, DK-1870 Frederiksberg C, Denmark

  • Venue:
  • Computers and Electronics in Agriculture
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes a supervised learning approach to sow-activity classification from accelerometer measurements. In the proposed methodology, pairs of accelerometer measurements and activity types are considered as labeled instances of a usual supervised classification task. Under this scenario sow-activity classification can be approached with standard machine learning methods for pattern classification. Individual predictions for elements of times series of arbitrary length are combined to classify it as a whole. An extensive comparison of representative learning algorithms, including neural networks, support vector machines, and ensemble methods, is presented. Experimental results are reported using a data set for sow-activity classification collected in a real production herd. The data set, which has been widely used in related works, includes measurements from active (Feeding, Rooting, Walking) and passive (Lying Laterally, Lying Sternally) activities. When classifying 1-s length observations, the best method achieved an average recognition rate of 74.64%, for the five activities. When classifying 2-min length time series, the performance of the best model increased to 80%. This is an important improvement from the 64% average recognition rate for the same five activities obtained in previous work. The pattern classification approach was also evaluated in alternative scenarios, including distinguishing between active and passive categories, and a multiclass setting. In general, better results were obtained when using a tree-based logitboost classifier. This method proved to be very robust to noise in observations. Besides its higher performance, the suggested method is more flexible than previous approaches, since time series of any length can be analyzed.