Classification of aggressive behaviour in pigs by activity index and multilayer feed forward neural network

The aim of this study was to test a method to automatically detect aggressive behaviour in pigs, by using an activity index and a multilayer feed forward neural network. An experiment was carried out on a mixed group of 11 male pigs weighing on average 23 kg. During the first 3 days after mixing, th...

Full description

Saved in:
Bibliographic Details
Published inBiosystems engineering Vol. 119; pp. 89 - 97
Main Authors Oczak, Maciej, Viazzi, Stefano, Ismayilova, Gunel, Sonoda, Lilia T., Roulston, Nancy, Fels, Michaela, Bahr, Claudia, Hartung, Jörg, Guarino, Marcella, Berckmans, Daniel, Vranken, Erik
Format Journal Article
LanguageEnglish
Published Kidlington Elsevier Ltd 01.03.2014
Elsevier
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The aim of this study was to test a method to automatically detect aggressive behaviour in pigs, by using an activity index and a multilayer feed forward neural network. An experiment was carried out on a mixed group of 11 male pigs weighing on average 23 kg. During the first 3 days after mixing, the pigs were recorded for video analysis. Out of the total video recording time (8 h or 28,800 s), 643 s were labelled as high aggression events and 1253 s as medium aggression events. Activity of the animals was measured on the videos using software that calculated activity index. Five features of activity index were calculated on the recorded videos (average, maximum, minimum, sum and variance) over 14 time intervals. A multilayer feed forward neural network was trained and validated to classify events of high aggression and medium aggression. Seven types of artificial neural network (ANN) architectures were tested in our study. The results revealed that ANNs, fed with 70 features of activity index (5 features × 14 intervals) calculated on 241 s time intervals, classified high aggression events with a sensitivity of 96.1%, specificity of 94.2% and an accuracy of 99.8% whereas medium aggression events were classified with a sensitivity of 86.8%, specificity of 94.5% and an accuracy of 99.2%. These results indicate that a combination of the activity index and multilayer feed forward neural network can be used to classify aggressive pig behaviour. •We identify two types of aggressive interactions between pigs: medium and high.•We classify aggressive interactions on the video images with activity index and ANN.•We test the performance of 7 types of ANN architecture.•High aggression events are classified with better performance than medium.•More complex ANN performs better in classification of aggressive events.
ISSN:1537-5110
1537-5129
DOI:10.1016/j.biosystemseng.2014.01.005