eCite Digital Repository

Variable segmentation and ensemble classifiers for predicting dairy cow behaviour


Williams, ML and James, WP and Rose, MT, Variable segmentation and ensemble classifiers for predicting dairy cow behaviour, Biosystems Engineering, 178 pp. 156-167. ISSN 1537-5110 (2019) [Refereed Article]

Copyright Statement

Copyright 2018 IAgrE

DOI: doi:10.1016/j.biosystemseng.2018.11.011


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.

Item Details

Item Type:Refereed Article
Keywords:changepoint, dairy cattle behaviour classification, ensemble classifier, machine learning, stacking algorithm, variable segmentation, artificial intelligence, classification, learning systems
Research Division:Agricultural, Veterinary and Food Sciences
Research Group:Animal production
Research Field:Animal management
Objective Division:Animal Production and Animal Primary Products
Objective Group:Livestock raising
Objective Field:Dairy cattle
UTAS Author:Rose, MT (Dr Michael Rose)
ID Code:135228
Year Published:2019
Web of Science® Times Cited:12
Deposited By:Office of the Tasmanian Institute of Agriculture
Deposited On:2019-10-08
Last Modified:2019-11-15

Repository Staff Only: item control page