Automatically classifying cattle behaviour using high frequency data usually involves segmentation of data with fixed window sizes for feature extraction. Machine learning algorithms can then be used for supervised modelling of the most biologically important behaviours using these segments. In this work, variable segmentation was applied to GPS data gathered from 30 dairy cows at pasture. Using these segments, the performance of 13 machine learning algorithms (base learners) implemented in WEKA were compared using default parameters in classifying grazing, resting and walking. Two Stacking ensembles (WEKA implementation of Super Learner) were then derived. The first ensemble contained the best performing base learners. The second was an optimised version derived using a manual ensemble selection method. Both versions of the ensemble were evaluated on an independent test set derived from 10 cows. Overall, the variable segmentation strategy identified 90.2% of changepoints. On the training set, all base learners achieved classification accuracies and F-measures ≥0.90. Optimising the Stacking ensemble led to no further improvement in F-measure (full ensemble = 0.93; optimised ensemble = 0.92) on the test set. The ensembles performed well but base learners utilising boosting algorithms (e.g. simple logistic; logistic model trees) performed as well as the more computationally expensive ensembles. Variable segmentation and ensemble classifiers are promising strategies for classifying the behaviour of dairy cows. However, more work is needed to fully explore and evaluate the potential of ensembles because some base learners may perform equally if not better in some contexts.
|Number of pages||12|
|Early online date||11 Dec 2018|
|Publication status||Published - 28 Feb 2019|
- variable sementation
- ensemble classifier
- dairy cattle behaviour classification
- machine learning
- stacking algorithm
FingerprintDive into the research topics of 'Variable segmentation and ensemble classifiers for predicting dairy cow behaviour'. Together they form a unique fingerprint.
- Faculty of Earth and Life Sciences, Department of Life Sciences - Darlithydd mewn Biomilfeddygaeth a Gwyddor Anifeiliaid
Person: Teaching And Research
Machine Learning for Dairy Cow Behaviour ClassificationAuthor: Williams, M., 23 Apr 2020
Supervisor: Rose, M. (Supervisor) & James, P. (Supervisor)
Student thesis: Doctoral Thesis › Doctor of Philosophy by Published WorksFile