| Literature DB >> 28002450 |
Monique A Ladds1, Adam P Thompson2, David J Slip1,3, David P Hocking4,5, Robert G Harcourt1.
Abstract
Constructing activity budgets for marine animals when they are at sea and cannot be directly observed is challenging, but recent advances in bio-logging technology offer solutions to this problem. Accelerometers can potentially identify a wide range of behaviours for animals based on unique patterns of acceleration. However, when analysing data derived from accelerometers, there are many statistical techniques available which when applied to different data sets produce different classification accuracies. We investigated a selection of supervised machine learning methods for interpreting behavioural data from captive otariids (fur seals and sea lions). We conducted controlled experiments with 12 seals, where their behaviours were filmed while they were wearing 3-axis accelerometers. From video we identified 26 behaviours that could be grouped into one of four categories (foraging, resting, travelling and grooming) representing key behaviour states for wild seals. We used data from 10 seals to train four predictive classification models: stochastic gradient boosting (GBM), random forests, support vector machine using four different kernels and a baseline model: penalised logistic regression. We then took the best parameters from each model and cross-validated the results on the two seals unseen so far. We also investigated the influence of feature statistics (describing some characteristic of the seal), testing the models both with and without these. Cross-validation accuracies were lower than training accuracy, but the SVM with a polynomial kernel was still able to classify seal behaviour with high accuracy (>70%). Adding feature statistics improved accuracies across all models tested. Most categories of behaviour -resting, grooming and feeding-were all predicted with reasonable accuracy (52-81%) by the SVM while travelling was poorly categorised (31-41%). These results show that model selection is important when classifying behaviour and that by using animal characteristics we can strengthen the overall accuracy.Entities:
Mesh:
Year: 2016 PMID: 28002450 PMCID: PMC5176164 DOI: 10.1371/journal.pone.0166898
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Identification number, location, species, age weight and sex of seals with number of sessions and attachment method of accelerometer.
AFS—Australian fur seal; NZFS—New Zealand fur seal; SFS—subantarctic fur seal and ASL—Australian sea lion.
| Seal ID | Marine facility | Species | Age | Weight range (kg) | Sex | Number of sessions | Attachment method |
|---|---|---|---|---|---|---|---|
| ASF1 | RF1 | ASL | 5 | 44–47 | Female | 13 | Harness |
| ASF3 | RF2 | ASL | 17 | 58–74 | Female | 4 | Harness |
| ASF4 | RF1 | ASL | 17 | 66–70 | Female | 12 | Harness |
| ASF6 | RF1 | ASL | 7 | 50 | Female | 2 | Harness |
| ASM1 | RF1 | ASL | 9 | 108–110 | Male | 8 | Harness |
| AFF1 | RF2 | AFS | 17 | 69–79 | Female | 7 | Tape |
| AFM1 | RF2 | AFS | 16 | 175–242 | Male | 7 | Tape |
| ASM2 | RF3 | ASL | 13 | 160–162 | Male | 9 | Tape |
| NFM1 | RF3 | NZFS | 8 | 47–54 | Male | 5 | Tape |
| NFM2 | RF2 | NZFS | 11 | 108–152 | Male | 5 | Tape |
| NFM3 | RF3 | NZFS | 13 | 111–154 | Male | 8 | Tape |
| SFM1 | RF2 | SFS | 4 | 28–30 | Male | 3 | Tape |
Fig 1Process of accelerometer attachment with tape.
a) Dry the fur; b) Lift the hair to stick tape to undercoat; c-e) Tape on the accelerometer; f) Seal with accelerometer.
Fig 2Harness.
a) Back; b) Side; c) Front.
Number of bouts of behaviours classified and their associated categories.
| Category | Behaviour | Number of bouts | Category | Behaviour | Number of bouts |
|---|---|---|---|---|---|
| Travelling (N = 2844) | Walking | 535 | Resting (N = 883) | Lying | 17 |
| Surface swimming | 1128 | Sitting | 532 | ||
| Swimming | 1003 | Still | 280 | ||
| Fast | 121 | Grooming (N = 331) | Scratch | 67 | |
| Porpoising | 57 | Rubbing | 9 | ||
| Feeding (N = 1759) | Chewing | 308 | Sailing | 28 | |
| Searching | 249 | Jugging | 19 | ||
| Thrash | 303 | Face rub | 54 | ||
| Manipulation | 779 | Shake | 39 | ||
| Hold and tear | 120 | Rolling | 115 |
Fig 3Example of raw acceleration data for a series of behaviours.
The * represents a fish capture in the water column.
Average training (ten animals) and testing (two unseen animals) accuracy of machine learning models run with and without feature statistics and the best parameters used for testing.
| Model | Train Accuracy | Test Accuracy | Best parameters |
|---|---|---|---|
| Features = FALSE | |||
| GBM | 73.69 | 61.98 | Eta = 0.01; max.depth = 5; nrounds = 5000; subsample = 0.7 |
| RF | 75.08 | 48.63 | Mtry = 10; ntree = 1400, nodesize = 1 |
| RLR | 63.72 | 46.91 | Param1 = 0.810 param2 = 0.0012 |
| SVM Linear | 64.22 | 48.00 | Cost = 100 |
| SVM Sigmoid | 65.08 | 46.29 | Gamma = 0.0001; coef0 = 0; cost = 100 |
| SVM Radial | 71.25 | 59.71 | Gamma = 0.001; cost = 100000 |
| SVM Polynomial | 72.58 | 63.94 | Degree = 4; gamma = 0.01; coef0 = 4; cost = 1 |
| Features = TRUE | |||
| GBM | 80.81 | 65.04 | Eta = 0.01; max.depth = 4; nrounds = 5000; subsample = 0.8 |
| RF | 80.53 | 53.92 | Mtry = 12; ntree = 1000, nodesize = 3 |
| RLR | 71.33 | 64.63 | Param1 = 0.10 param2 = 0.0018 |
| SVM Linear | 71.50 | 68.15 | Cost = 10 |
| SVM Sigmoid | 70.31 | 55.46 | Cost = 100; coef0 = 0; gamma = 0.0001 |
| SVM Radial | 79.03 | 68.87 | Cost = 10000; gamma = 0.001 |
| SVM Polynomial | 78.83 | 72.01 | Cost = 0.1; coef0 = 4; gamma = 0.01; degree = 4 |
Confusion matrix for the cross-validation results from the GBM, RF, LR and SVM models.
^Only the results from the best SVM (polynomial) are presented here.
| 5717 | 66 | 132 | 821 | 84.9% | 88.3% | |
| 42 | 180 | 10 | 59 | 61.9% | 71.4% | |
| 363 | 66 | 1773 | 332 | 70.0% | 70.2% | |
| 2226 | 1111 | 5020 | 11397 | 57.7% | 36.0% | |
| Foraging | Grooming | Resting | Travelling | Sensitivity | Specificity | |
| 4836 | 661 | 257 | 982 | 71.8% | 74.9% | |
| 36 | 183 | 16 | 56 | 62.9% | 61.9% | |
| 508 | 38 | 1830 | 158 | 72.2% | 60.2% | |
| 3996 | 3681 | 1037 | 6520 | 42.8% | 43.7% | |
| Foraging | Grooming | Resting | Travelling | Sensitivity | Specificity | |
| 5671 | 115 | 174 | 776 | 84.2% | 80.3% | |
| 14 | 202 | 21 | 54 | 69.4% | 62.4% | |
| 441 | 47 | 1843 | 203 | 72.7% | 60.6% | |
| 3094 | 3024 | 806 | 8310 | 54.5% | 35.9% | |
| Foraging | Grooming | Resting | Travelling | Sensitivity | Specificity | |
| 5856 | 123 | 62 | 695 | 86.9% | 81.3% | |
| 52 | 188 | 6 | 45 | 64.6% | 62.5% | |
| 697 | 314 | 1040 | 483 | 41.0% | 61.6% | |
| 2596 | 1258 | 483 | 10772 | 71.3% | 30.9% |