Cargando…

Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data

SIMPLE SUMMARY: The early detection of behavioural changes based on variations in dairy cows’ daily routines is of paramount importance to the timely identification of the onset of disease. However, the effectiveness in identifying these changes through the use of sensors is dependent on the accurac...

Descripción completa

Detalles Bibliográficos
Autores principales: Balasso, Paolo, Taccioli, Cristian, Serva, Lorenzo, Magrin, Luisa, Andrighetto, Igino, Marchesini, Giorgio
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10251916/
https://www.ncbi.nlm.nih.gov/pubmed/37889789
http://dx.doi.org/10.3390/ani13111886
_version_ 1785056046333558784
author Balasso, Paolo
Taccioli, Cristian
Serva, Lorenzo
Magrin, Luisa
Andrighetto, Igino
Marchesini, Giorgio
author_facet Balasso, Paolo
Taccioli, Cristian
Serva, Lorenzo
Magrin, Luisa
Andrighetto, Igino
Marchesini, Giorgio
author_sort Balasso, Paolo
collection PubMed
description SIMPLE SUMMARY: The early detection of behavioural changes based on variations in dairy cows’ daily routines is of paramount importance to the timely identification of the onset of disease. However, the effectiveness in identifying these changes through the use of sensors is dependent on the accuracy and precision of the system used. This study tested the performance of deep learning models in classifying the behaviour of dairy cows on the basis of the data acquired through a tri-axial accelerometer. The results were compared with those obtained from the same raw data analysed by classical machine learning algorithms. Among the tested models, an 8-layer convolutional neural network showed the highest performance in predicting the considered behaviours. ABSTRACT: The accurate detection of behavioural changes represents a promising method of detecting the early onset of disease in dairy cows. This study assessed the performance of deep learning (DL) in classifying dairy cows’ behaviour from accelerometry data acquired by single sensors on the cows’ left flanks and compared the results with those obtained through classical machine learning (ML) from the same raw data. Twelve cows with a tri-axial accelerometer were observed for 136 ± 29 min each to detect five main behaviours: standing still, moving, feeding, ruminating and resting. For each 8 s time interval, 15 metrics were calculated, obtaining a dataset of 211,720 observation units and 15 columns. The entire dataset was randomly split into training (80%) and testing (20%) datasets. The DL accuracy, precision and sensitivity/recall were calculated and compared with the performance of classical ML models. The best predictive model was an 8-layer convolutional neural network (CNN) with an overall accuracy and F1 score equal to 0.96. The precision, sensitivity/recall and F1 score of single behaviours had the following ranges: 0.93–0.99. The CNN outperformed all the classical ML algorithms. The CNN used to monitor the cows’ conditions showed an overall high performance in successfully predicting multiple behaviours using a single accelerometer.
format Online
Article
Text
id pubmed-10251916
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-102519162023-06-10 Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data Balasso, Paolo Taccioli, Cristian Serva, Lorenzo Magrin, Luisa Andrighetto, Igino Marchesini, Giorgio Animals (Basel) Article SIMPLE SUMMARY: The early detection of behavioural changes based on variations in dairy cows’ daily routines is of paramount importance to the timely identification of the onset of disease. However, the effectiveness in identifying these changes through the use of sensors is dependent on the accuracy and precision of the system used. This study tested the performance of deep learning models in classifying the behaviour of dairy cows on the basis of the data acquired through a tri-axial accelerometer. The results were compared with those obtained from the same raw data analysed by classical machine learning algorithms. Among the tested models, an 8-layer convolutional neural network showed the highest performance in predicting the considered behaviours. ABSTRACT: The accurate detection of behavioural changes represents a promising method of detecting the early onset of disease in dairy cows. This study assessed the performance of deep learning (DL) in classifying dairy cows’ behaviour from accelerometry data acquired by single sensors on the cows’ left flanks and compared the results with those obtained through classical machine learning (ML) from the same raw data. Twelve cows with a tri-axial accelerometer were observed for 136 ± 29 min each to detect five main behaviours: standing still, moving, feeding, ruminating and resting. For each 8 s time interval, 15 metrics were calculated, obtaining a dataset of 211,720 observation units and 15 columns. The entire dataset was randomly split into training (80%) and testing (20%) datasets. The DL accuracy, precision and sensitivity/recall were calculated and compared with the performance of classical ML models. The best predictive model was an 8-layer convolutional neural network (CNN) with an overall accuracy and F1 score equal to 0.96. The precision, sensitivity/recall and F1 score of single behaviours had the following ranges: 0.93–0.99. The CNN outperformed all the classical ML algorithms. The CNN used to monitor the cows’ conditions showed an overall high performance in successfully predicting multiple behaviours using a single accelerometer. MDPI 2023-06-05 /pmc/articles/PMC10251916/ /pubmed/37889789 http://dx.doi.org/10.3390/ani13111886 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Balasso, Paolo
Taccioli, Cristian
Serva, Lorenzo
Magrin, Luisa
Andrighetto, Igino
Marchesini, Giorgio
Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title_full Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title_fullStr Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title_full_unstemmed Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title_short Uncovering Patterns in Dairy Cow Behaviour: A Deep Learning Approach with Tri-Axial Accelerometer Data
title_sort uncovering patterns in dairy cow behaviour: a deep learning approach with tri-axial accelerometer data
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10251916/
https://www.ncbi.nlm.nih.gov/pubmed/37889789
http://dx.doi.org/10.3390/ani13111886
work_keys_str_mv AT balassopaolo uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata
AT tacciolicristian uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata
AT servalorenzo uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata
AT magrinluisa uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata
AT andrighettoigino uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata
AT marchesinigiorgio uncoveringpatternsindairycowbehaviouradeeplearningapproachwithtriaxialaccelerometerdata