Machine Learning to Detect Posture and Behavior in Dairy Cows: Information from an Accelerometer on the Animal's Left Flank.
animal welfare
precision livestock farming
ruminant
triaxial accelerometer
Journal
Animals : an open access journal from MDPI
ISSN: 2076-2615
Titre abrégé: Animals (Basel)
Pays: Switzerland
ID NLM: 101635614
Informations de publication
Date de publication:
15 Oct 2021
15 Oct 2021
Historique:
received:
07
09
2021
revised:
02
10
2021
accepted:
13
10
2021
entrez:
23
10
2021
pubmed:
24
10
2021
medline:
24
10
2021
Statut:
epublish
Résumé
The aim of the present study was to develop a model to identify posture and behavior from data collected by a triaxial accelerometer located on the left flank of dairy cows and evaluate its accuracy and precision. Twelve Italian Red-and-White lactating cows were equipped with an accelerometer and observed on average for 136 ± 29 min per cow by two trained operators as a reference. The acceleration data were grouped in time windows of 8 s overlapping by 33.0%, for a total of 35,133 rows. For each row, 32 different features were extracted and used by machine learning algorithms for the classification of posture and behavior. To build up a predictive model, the dataset was split in training and testing datasets, characterized by 75.0 and 25.0% of the observations, respectively. Four algorithms were tested: Random Forest, K Nearest Neighbors, Extreme Boosting Algorithm (XGB), and Support Vector Machine. The XGB model showed the best accuracy (0.99) and Cohen's kappa (0.99) in predicting posture, whereas the Random Forest model had the highest overall accuracy in predicting behaviors (0.76), showing a balanced accuracy from 0.96 for resting to 0.77 for moving. Overall, very accurate detection of the posture and resting behavior were achieved.
Identifiants
pubmed: 34679991
pii: ani11102972
doi: 10.3390/ani11102972
pmc: PMC8532600
pii:
doi:
Types de publication
Journal Article
Langues
eng
Subventions
Organisme : University of Padua
ID : DOR1904730
Organisme : Unismart
ID : None
Références
Vet Clin North Am Food Anim Pract. 2019 Mar;35(1):61-76
pubmed: 30686466
J Vet Med Sci. 2019 Dec 26;81(12):1835-1841
pubmed: 31685723
Int J Biometeorol. 2017 Mar;61(3):417-425
pubmed: 27498881
Rev Sci Tech. 2014 Apr;33(1):189-96
pubmed: 25000791
J Dairy Sci. 2016 Sep;99(9):7411-7421
pubmed: 27372584
J Dairy Sci. 2014 May;97(5):2974-9
pubmed: 24630647
J Dairy Sci. 2012 Nov;95(11):6546-9
pubmed: 22939795
J Dairy Sci. 2016 Sep;99(9):7458-7466
pubmed: 27423949
J Dairy Sci. 2020 Apr;103(4):3846-3855
pubmed: 31837782
Animals (Basel). 2020 Jul 07;10(7):
pubmed: 32645856
J Dairy Sci. 2017 Oct;100(10):8358-8371
pubmed: 28755933
J Dairy Sci. 2019 Dec;102(12):11483-11490
pubmed: 31629512
Res Vet Sci. 2019 Aug;125:425-433
pubmed: 29174287
J Anim Sci. 2013 Oct;91(10):4899-907
pubmed: 23965385
J Dairy Sci. 2018 Nov;101(11):10421-10427
pubmed: 30146297
Vet J. 2018 Jan;231:41-47
pubmed: 29429486
J Dairy Sci. 2018 May;101(5):3722-3741
pubmed: 29501340