Feature Selection and Comparison of Machine Learning Algorithms in Classification of Grazing and Rumination Behaviour in Sheep
Open Access
Abstract
Grazing and ruminating are the most important behaviours for ruminants, as they spend most of their daily time budget performing these. Continuous surveillance of eating behaviour is an important means for monitoring ruminant health, productivity and welfare. However, surveillance performed by human operators is prone to human variance, time-consuming and costly, especially on animals kept at pasture or free-ranging. The use of sensors to automatically acquire data, and software to classify and identify behaviours, offers significant potential in addressing such issues. In this work, data collected from sheep by means of an accelerometer/gyroscope sensor attached to the ear and collar, sampled at 16 Hz, were used to develop classifiers for grazing and ruminating behaviour using various machine learning algorithms: random forest (RF), support vector machine (SVM), k nearest neighbour (kNN) and adaptive boosting (Adaboost). Multiple features extracted from the signals were ranked on their importance for classification. Several performance indicators were considered when comparing classifiers as a function of algorithm used, sensor localisation and number of used features. Random forest yielded the highest overall accuracies: 92% for collar and 91% for ear. Gyroscope-based features were shown to have the greatest relative importance for eating behaviours. The optimum number of feature characteristics to be incorporated into the model was 39, from both ear and collar data. The findings suggest that one can successfully classify eating behaviours in sheep with very high accuracy; this could be used to develop a device for automatic monitoring of feed intake in the sheep sector to monitor health and welfare.Keywords
Funding Information
- Biotechnology and Biological Sciences Research Council (BB/N014235/1)
- Innovate UK (132164)
This publication has 43 references indexed in Scilit:
- Tri-Axial Dynamic Acceleration as a Proxy for Animal Energy Expenditure; Should We Be Summing Values or Calculating the Vector?PLOS ONE, 2012
- The use of classification trees for bioinformaticsWIREs Data Mining and Knowledge Discovery, 2011
- A comparison of random forest and its Gini importance with standard chemometric methods for the feature selection and classification of spectral dataBMC Bioinformatics, 2009
- An automated sensor-based method of simple behavioural classification of sheep in extensive systemsComputers and Electronics in Agriculture, 2008
- A Decision-Theoretic Generalization of On-Line Learning and an Application to BoostingJournal of Computer and System Sciences, 1997
- Genetic algorithms and applications in system engineering: a surveyTransactions of the Institute of Measurement and Control, 1993
- An Introduction to Kernel and Nearest-Neighbor Nonparametric RegressionThe American Statistician, 1992
- Body condition scoring of sheepIn Practice, 1984
- The development and use of equipment for the automatic recording of ingestive behaviour in sheep and cattleGrass and Forage Science, 1981
- Studies in grazing behaviour of dairy cattle: II. Bloat in relation to grazing behaviourThe Journal of Agricultural Science, 1954