Skip to main content
. 2020 Dec 11;20(24):7096. doi: 10.3390/s20247096

Table 6.

Confusion matrix for the test set of the summarised data. Values in bold are correctly classified behaviour events. V. Swim is vertical swimming behaviour.

Predicted Behaviour Performance Metric
Observed Behaviour Chew Rest Swim V. Swim Sensitivity Specificity Precision F-Measure
SVM (2 s epoch test)
Chew 13 0 1 0 68.4% 98.4% 92.9% 78.8%
Rest 2 20 2 0 100% 93.6% 83.3% 90.9%
Swim 4 0 32 0 91.4% 91.5% 88.9% 90.1%
V. Swim 0 0 0 8 100% 100% 100% 100%
SVM (1 s epoch test)
Chew 8 2 4 0 42.1% 90.5% 57.1% 48.5%
Rest 3 19 2 0 90.5% 91.8% 79.2% 84.4%
Swim 8 0 28 0 82.4% 83.3% 77.8% 80%
V. Swim 0 0 0 8 100% 100% 100% 100%
RF (2 s epoch test)
Chew 10 0 4 0 77% 94.2% 71.4% 74.1%
Rest 1 21 2 0 100% 95.1% 87.5% 93.3%
Swim 2 0 34 0 85% 95.2% 94.4% 89.5%
V. Swim 0 0 0 8 100% 100% 100% 100%
RF (1 s epoch test)
Chew 7 2 5 0 70% 90.3% 50% 58.3%
Rest 1 21 2 0 91.3% 95% 87.5% 89.4%
Swim 2 0 34 0 83% 95.1% 94.4% 88.3%
V. Swim 0 0 0 8 100% 100% 100% 100%
XGB (2 s epoch test)
Chew 11 0 3 0 68.8% 95.5% 78.6% 73.3%
Rest 1 21 2 0 100% 95.1% 87.5% 93.3%
Swim 4 0 32 0 86.5% 91.1% 88.9% 87.7%
V. Swim 0 0 0 8 100% 100% 100% 100%
XGB (1 s epoch test)
Chew 5 1 8 0 55.6% 87.7% 35.7% 43.5%
Rest 0 21 3 0 91.3% 95% 87.5% 89.4%
Swim 4 1 31 0 73.8% 87.5% 86.1% 79.5%
V. Swim 0 0 0 8 100% 100% 100% 100%