Cargando…

Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records

Tail biting is a damaging behaviour that impacts the welfare and health of pigs. Early detection of precursor signs of tail biting provides the opportunity to take preventive measures, thus avoiding the occurrence of the tail biting event. This study aimed to build a machine-learning algorithm for r...

Descripción completa

Detalles Bibliográficos
Autores principales: Ollagnier, Catherine, Kasper, Claudia, Wallenbeck, Anna, Keeling, Linda, Bee, Giuseppe, Bigdeli, Siavash A.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9815639/
https://www.ncbi.nlm.nih.gov/pubmed/36602982
http://dx.doi.org/10.1371/journal.pone.0252002
_version_ 1784864366389100544
author Ollagnier, Catherine
Kasper, Claudia
Wallenbeck, Anna
Keeling, Linda
Bee, Giuseppe
Bigdeli, Siavash A.
author_facet Ollagnier, Catherine
Kasper, Claudia
Wallenbeck, Anna
Keeling, Linda
Bee, Giuseppe
Bigdeli, Siavash A.
author_sort Ollagnier, Catherine
collection PubMed
description Tail biting is a damaging behaviour that impacts the welfare and health of pigs. Early detection of precursor signs of tail biting provides the opportunity to take preventive measures, thus avoiding the occurrence of the tail biting event. This study aimed to build a machine-learning algorithm for real-time detection of upcoming tail biting outbreaks, using feeding behaviour data recorded by an electronic feeder. Prediction capacities of seven machine learning algorithms (Generalized Linear Model with Stepwise Feature Selection, random forest, Support Vector Machines with Radial Basis Function Kernel, Bayesian Generalized Linear Model, Neural network, K-nearest neighbour, and Partial Least Squares Discriminant Analysis) were evaluated from daily feeding data collected from 65 pens originating from two herds of grower-finisher pigs (25-100kg), in which 27 tail biting events occurred. Data were divided into training and testing data in two different ways, either by randomly splitting data into 75% (training set) and 25% (testing set), or by randomly selecting pens to constitute the testing set. In the first data splitting, the model is regularly updated with previous data from the pen, whereas in the second data splitting, the model tries to predict for a pen that it has never seen before. The K-nearest neighbour algorithm was able to predict 78% of the upcoming events with an accuracy of 96%, when predicting events in pens for which it had previous data. Our results indicate that machine learning models can be considered for implementation into automatic feeder systems for real-time prediction of tail biting events.
format Online
Article
Text
id pubmed-9815639
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-98156392023-01-06 Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records Ollagnier, Catherine Kasper, Claudia Wallenbeck, Anna Keeling, Linda Bee, Giuseppe Bigdeli, Siavash A. PLoS One Research Article Tail biting is a damaging behaviour that impacts the welfare and health of pigs. Early detection of precursor signs of tail biting provides the opportunity to take preventive measures, thus avoiding the occurrence of the tail biting event. This study aimed to build a machine-learning algorithm for real-time detection of upcoming tail biting outbreaks, using feeding behaviour data recorded by an electronic feeder. Prediction capacities of seven machine learning algorithms (Generalized Linear Model with Stepwise Feature Selection, random forest, Support Vector Machines with Radial Basis Function Kernel, Bayesian Generalized Linear Model, Neural network, K-nearest neighbour, and Partial Least Squares Discriminant Analysis) were evaluated from daily feeding data collected from 65 pens originating from two herds of grower-finisher pigs (25-100kg), in which 27 tail biting events occurred. Data were divided into training and testing data in two different ways, either by randomly splitting data into 75% (training set) and 25% (testing set), or by randomly selecting pens to constitute the testing set. In the first data splitting, the model is regularly updated with previous data from the pen, whereas in the second data splitting, the model tries to predict for a pen that it has never seen before. The K-nearest neighbour algorithm was able to predict 78% of the upcoming events with an accuracy of 96%, when predicting events in pens for which it had previous data. Our results indicate that machine learning models can be considered for implementation into automatic feeder systems for real-time prediction of tail biting events. Public Library of Science 2023-01-05 /pmc/articles/PMC9815639/ /pubmed/36602982 http://dx.doi.org/10.1371/journal.pone.0252002 Text en © 2023 Ollagnier et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Ollagnier, Catherine
Kasper, Claudia
Wallenbeck, Anna
Keeling, Linda
Bee, Giuseppe
Bigdeli, Siavash A.
Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title_full Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title_fullStr Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title_full_unstemmed Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title_short Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
title_sort machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9815639/
https://www.ncbi.nlm.nih.gov/pubmed/36602982
http://dx.doi.org/10.1371/journal.pone.0252002
work_keys_str_mv AT ollagniercatherine machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords
AT kasperclaudia machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords
AT wallenbeckanna machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords
AT keelinglinda machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords
AT beegiuseppe machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords
AT bigdelisiavasha machinelearningalgorithmscanpredicttailbitingoutbreaksinpigsusingfeedingbehaviourrecords