The HABRI Foundation is calling for research proposals to investigate the health outcomes of pet ownership and/or animal-assisted activity or therapy, both for the people and the animals involved. To learn more, visit close

You are here: Home / Journal Articles / Classifying the posture and activity of ewes and lambs using accelerometers and machine learning on a commercial flock / About

Classifying the posture and activity of ewes and lambs using accelerometers and machine learning on a commercial flock

By Emily Price, Joss Langford, Tim W. Fawcett, Alastair J. Wilson, Darren P. Croft

View Resource (HTM)

Licensed under

Category Journal Articles

Early decision making in commercial livestock systems is key to maximising animal welfare and production. Detailed information on an animal’s phenotype is needed to facilitate this, but can be difficult to obtain in a commercial setting. Research into the use of bio-logging on sheep to continuously monitor individual behaviour and indirectly inform health and production has seen rapid growth in recent years. Much of this research, however, has been conducted on small numbers of animals in an experimental setting and over limited time periods. Previous studies have also focused on ewes and there has been little research on the potential of bio-logging for collecting behavioural data on lambs, despite clear potential relevance for production. The present study aimed to test the feasibility of deploying accelerometers on a commercial sheep flock at a key point in the annual production cycle (lambing), to validate the viability of automated monitoring of sheep behaviour in a commercial setting. Also, we aimed to develop robust machine learning algorithms that can classify both the posture and physical activity of adult sheep and lambs. We used a Random Forest machine learning algorithm to predict: two mutually exclusive postures in ewes and lambs (standing and lying), achieving average accuracies of 83.7% and 85.9% respectively; four mutually exclusive activities in ewes (grazing, ruminating, inactive and walking), achieving an average accuracy of 70.9%; and three mutually exclusive activities in lambs (inactive, suckling, walking), achieving an average accuracy of 80.8%. These performance accuracies on large numbers of individuals afford the opportunity to provide a detailed understanding of the daily activity budget of ewes and lambs. Monitoring changes in daily patterns across the annual production cycle while capturing changes in environmental conditions such as weather, day length, terrain and management could reveal key indicator metrics that may inform production and health and provide early warning systems for key issues in commercial flocks.

Publication Title Applied Animal Behaviour Science
Volume 251
Pages 105630
ISBN/ISSN 0168-1591
DOI 10.1016/j.applanim.2022.105630
Cite this work

Researchers should cite this work as follows:

  1. Behavior and behavior mechanisms
  2. Lambs
  3. Machine learning
  4. Sheep