| Literature DB >> 29324700 |
Jamie Barwick1,2, David Lamb3, Robin Dobos4,5, Derek Schneider6, Mitchell Welch7, Mark Trotter8,9.
Abstract
Lameness is a clinical symptom associated with a number of sheep diseases around the world, having adverse effects on weight gain, fertility, and lamb birth weight, and increasing the risk of secondary diseases. Current methods to identify lame animals rely on labour intensive visual inspection. The aim of this current study was to determine the ability of a collar, leg, and ear attached tri-axial accelerometer to discriminate between sound and lame gait movement in sheep. Data were separated into 10 s mutually exclusive behaviour epochs and subjected to Quadratic Discriminant Analysis (QDA). Initial analysis showed the high misclassification of lame grazing events with sound grazing and standing from all deployment modes. The final classification model, which included lame walking and all sound activity classes, yielded a prediction accuracy for lame locomotion of 82%, 35%, and 87% for the ear, collar, and leg deployments, respectively. Misclassification of sound walking with lame walking within the leg accelerometer dataset highlights the superiority of an ear mode of attachment for the classification of lame gait characteristics based on time series accelerometer data.Entities:
Keywords: acceleromter; activity; behavior; lameness; on-animal sensor; sheep
Year: 2018 PMID: 29324700 PMCID: PMC5789307 DOI: 10.3390/ani8010012
Source DB: PubMed Journal: Animals (Basel) ISSN: 2076-2615 Impact factor: 2.752
Figure 1Experimental animal displaying the ear and neck (collar) locations evaluated. Insert shows the axis orientation of the sensor. Refer to Figure 3 for leg attachment display.
Figure 2Workflow of the steps employed to classify sheep behaviour from a tri-axial accelerometer.
Descriptions of the four behaviour states monitored.
| Behaviour | Classification Description |
|---|---|
| Grazing | Grazing with head down or chewing with head up either standing still or moving. Rumination was classed as standing or lying. |
| Walking | Minimum of two progressive steps either forward/back or sideways. |
| Standing | Static standing with minor limb and head movements. Animal is in a standing posture whilst idle or inactive. Head may be up or down. |
| Lying | Animal is in a lying posture whilst idle or inactive assuming a recumbent position with minor head movements. |
Figure 3Experimental animal showing the method used to simulate lameness behaviour (main photo and inset). The method of restraint prevented any weight bearing on the restrained limb.
Calculated features from raw X, Y, and Z acceleration values.
| Feature | Equation | Feature Discussed In |
|---|---|---|
| Average | [ | |
| Average | [ | |
| Average | [ | |
| Movement Variation (MV) | [ | |
| Signal Magnitude Area (SMA) | [ | |
| Average Intensity (AI) | [ | |
| Entropy | [ | |
| Energy | [ | |
| Maximum | The maximum | [ |
| Maximum | The maximum | [ |
| Maximum | The maximum | [ |
| Minimum | The minimum X-axis acceleration value within the epoch | [ |
| Minimum | The minimum | [ |
| Minimum | The minimum | [ |
Total number of 10 s mutually exclusive behaviour epochs. The number of animals for which behaviours were collected within each deployment is shown in parentheses.
| Behaviour | Collar | Leg | Ear |
|---|---|---|---|
| Sound walking | 95 (3) | 94 (3) | 274 (5) |
| Sound standing | 106 (3) | 106 (3) | 862 (5) |
| Sound grazing | 298 (4) | 298 (4) | 342 (5) |
| Sound lying | 40 (1) | 46 (1) | 0 (0) |
| Lame walking | 88 (3) | 92 (4) | 98 (4) |
| lame standing | 62 (3) | 93 (4) | 97 (4) |
| Lame grazing | 171 (3) | 181 (4) | 182 (4) |
| Lame lying | 236 (3) | 279 (4) | 279 (4) |
Figure 4Raw ear acceleration signals for sound and lame walking. Note the increased amplitude of lame walking signals. Insert highlights the difference in amplitude between lame and sound walking signals.
The metric order of importance for each deployment (in decreasing order of importance).
| RF Variable Selection | |||||
|---|---|---|---|---|---|
| Analysis I | Analysis II | ||||
| Ear | Front Leg | Collar | Ear | Front Leg | Collar |
| MV | Ax | Ax | MV | Ax | Entropy |
| Ay | SMA | Az | AI | SMA | Az |
| Energy | Az | Entropy | Ay | AI | Max-Z |
| SMA | AI | AI | SMA | Max- | Energy |
| AI | MV | Energy | Energy | Az | AI |
| Min- | Max- | Max- | Min- | MV | MV |
| Max- | Max- | MV | Min- | Energy | Ax |
| Max- | Max- | Max- | Az | Max- | Min- |
| Min- | Energy | Min- | Max- | Entropy | Min- |
| Az | Entropy | Min- | Min- | Min- | Max- |
| Min- | Ay | SMA | Ax | Ay | Min- |
| Max- | Min- | Min- | Max- | Max- | SMA |
| Ax | Min- | Ay | Entropy | Min- | Ay |
| Entropy | Min- | Max- | Max- | Min- | Max- |
QDA confusion matrices of the leave-one-out cross validation analysis for the classification of six mutually exclusive behaviours (Analysis I) using accelerometers deployed in three locations (collar, leg, and ear). The QDA algorithm used the top three ranked metrics from the respective data sets for the discrimination of behavior. Correctly predicted events are shown in bold and misclassifications in red.
| Deployment Location | Predicted Behaviour (Events) | Observed Behaviour (Events) | |||||
|---|---|---|---|---|---|---|---|
| Sound Grazing | Sound Standing | Sound Walking | Sound Lying | Lame Walking | Lame Grazing | ||
| Ear | Sound grazing | 42 | 5 | 6 | 131 | ||
| Sound standing | 44 | 2 | 3 | 11 | |||
| Sound walking | 1 | 4 | 9 | 3 | |||
| Sound lying | |||||||
| Lame walking | 0 | 0 | 14 | 3 | |||
| Lame grazing | 10 | 3 | 11 | 2 | |||
| Prediction accuracy | 84% | 94% | 88% | 80% | 19% | ||
| Collar | Sound grazing | 26 | 0 | 0 | 0 | 39 | |
| Sound standing | 12 | 12 | 3 | 29 | 14 | ||
| Sound walking | 0 | 22 | 13 | 13 | 2 | ||
| Sound lying | 2 | 5 | 5 | 4 | 4 | ||
| Lame walking | 0 | 0 | 0 | 1 | 4 | ||
| Lame grazing | 3 | 0 | 0 | 0 | 20 | ||
| Prediction accuracy | 94% | 50% | 82% | 56% | 14% | 63% | |
| Leg | Sound grazing | 34 | 0 | 0 | 5 | 55 | |
| Sound standing | 33 | 0 | 0 | 6 | 105 | ||
| Sound walking | 0 | 0 | 0 | 2 | 0 | ||
| Sound lying | 2 | 0 | 0 | 0 | 8 | ||
| Lame walking | 1 | 0 | 13 | 0 | 6 | ||
| Lame grazing | 0 | 1 | 0 | 0 | 0 | ||
| Prediction accuracy | 88% | 67% | 86% | 100% | 86% | 4% | |
QDA confusion matrices of the leave-one-out cross validation analysis for the classification of five mutually exclusive behaviours (Analysis II) using accelerometers deployed in three locations (collar, leg, and ear). The QDA algorithm used the top three ranked metrics from the respective data sets for the discrimination of behaviour. Correctly predicted events are shown in bold and misclassifications in red.
| Deployment Location | Predicted Behaviour (Events) | Observed Behaviour (Events) | ||||
|---|---|---|---|---|---|---|
| Sound Grazing | Sound Standing | Sound Walking | Sound Lying | Lame Walking | ||
| Ear | Sound grazing | 26 | 1 | 6 | ||
| Sound standing | 15 | 1 | 3 | |||
| Sound walking | 2 | 5 | 9 | |||
| Sound lying | ||||||
| Lame walking | 4 | 0 | 9 | |||
| Prediction accuracy | 94% | 96% | 96% | 82% | ||
| Collar | Sound grazing | 26 | 2 | 0 | 0 | |
| Sound standing | 13 | 10 | 12 | 9 | ||
| Sound walking | 2 | 15 | 8 | 42 | ||
| Sound lying | 0 | 12 | 23 | 6 | ||
| Lame walking | 0 | 0 | 0 | 2 | ||
| Prediction accuracy | 95% | 50% | 63% | 45% | 35% | |
| Leg | Sound grazing | 44 | 0 | 0 | 3 | |
| Sound standing | 26 | 0 | 0 | 6 | ||
| Sound walking | 0 | 0 | 0 | 3 | ||
| Sound lying | 0 | 0 | 0 | 0 | ||
| Lame walking | 6 | 1 | 34 | 0 | ||
| Prediction accuracy | 89% | 58% | 64% | 100% | 87% | |
Performance statistics of the leave-one-out cross validation for the QDA classification model to discriminate between the five mutually exclusive behaviours from Analysis II.
| Deployment Location | Predicted Behaviour (Events) | Observed Behaviour (Events) | ||||
|---|---|---|---|---|---|---|
| Sound Grazing | Sound Standing | Sound Walking | Sound Lying | Lame Walking | ||
| Ear | MV, AI, Ay | |||||
| Sensitivity | 94% | 96% | 96% | 82% | ||
| Specificity | 97% | 97% | 99% | 99% | ||
| Accuracy | 96% | 97% | 98% | 98% | ||
| Precision | 91% | 98% | 94% | 82% | ||
| Collar | Entropy, Az, Max- | |||||
| Sensitivity | 95% | 50% | 63% | 45% | 35% | |
| Specificity | 90% | 92% | 87% | 96% | 90% | |
| Accuracy | 92% | 85% | 84% | 93% | 83% | |
| Precision | 91% | 55% | 47% | 45% | 35% | |
| Leg | Ax, SMA, AI | |||||
| Sensitivity | 89% | 58% | 64% | 100% | 87% | |
| Specificity | 83% | 94% | 99% | 100% | 98% | |
| Accuracy | 86% | 88% | 94% | 100% | 96% | |
| Precision | 85% | 66% | 95% | 100% | 87% | |