| Literature DB >> 21904542 |
Andrea Mannini1, Angelo Maria Sabatini.
Abstract
Accelerometers are a popular choice as body-motion sensors: the reason is partly in their capability of extracting information that is useful for automatically inferring the physical activity in which the human subject is involved, beside their role in feeding biomechanical parameters estimators. Automatic classification of human physical activities is highly attractive for pervasive computing systems, whereas contextual awareness may ease the human-machine interaction, and in biomedicine, whereas wearable sensor systems are proposed for long-term monitoring. This paper is concerned with the machine learning algorithms needed to perform the classification task. Hidden Markov Model (HMM) classifiers are studied by contrasting them with Gaussian Mixture Model (GMM) classifiers. HMMs incorporate the statistical information available on movement dynamics into the classification process, without discarding the time history of previous outcomes as GMMs do. An example of the benefits of the obtained statistical leverage is illustrated and discussed by analyzing two datasets of accelerometer time series.Entities:
Mesh:
Year: 2011 PMID: 21904542 PMCID: PMC3166724 DOI: 10.1155/2011/647858
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Scheme of a sequential classification based on HMMs.
TPM for the virtual experiments simulated in this paper (seven-activity dataset).
|
|
|
|
|
|
|
| |
|---|---|---|---|---|---|---|---|
|
| 0.95 | 0.20 | 0.00 | 0.00 | 0.00 | 0.01 | 0.04 |
|
| 0.00 | 0.90 | 0.00 | 0.04 | 0.00 | 0.01 | 0.05 |
|
| 0.00 | 0.00 | 0.62 | 0.25 | 0.01 | 0.02 | 0.10 |
|
| 0.00 | 0.01 | 0.03 | 0.80 | 0.02 | 0.07 | 0.07 |
|
| 0.00 | 0.01 | 0.01 | 0.35 | 0.40 | 0.01 | 0.22 |
|
| 0.02 | 0.00 | 0.00 | 0.04 | 0.00 | 0.85 | 0.09 |
|
| 0.01 | 0.03 | 0.01 | 0.18 | 0.03 | 0.12 | 0.62 |
Figure 2The ActiNav board is shown with several sensors connected to its input ports.
Figure 3Block diagram of the developed cHMM-based sequential classifier.
Figure 4ROC curve obtained using different threshold values.
Classification accuracy averaged over the twenty subjects available in the seven-activity dataset. Spurious data are not inserted. The values are reported as mean ± standard deviation.
| Seven-activity dataset (in the absence of spurious data) | |||||
|---|---|---|---|---|---|
|
|
|
|
|
| |
| GMM | 88.6 ± 13.7 | 88.1 ± 13.4 | 85.9 ± 13.6 | 82.5 ± 16.4 | 82.0 ± 16.6 |
| cHMM (1st level) | 90.2 ± 13.0 | 88.0 ± 12.9 | 85.6 ± 13.0 | 80.8 ± 17.1 | 79.3 ± 17.7 |
| cHMM (1st + 2nd level) | 90.2 ± 13.0 | 88.8 ± 13.4 | 85.2 ± 14.5 | 83.5 ± 16.3 | 82.8 ± 18.1 |
Classification accuracy averaged over the twenty subjects available in the seven-activity dataset in the presence of spurious data. The values are reported as mean ± standard deviation.
| Seven-activity dataset (spurious data present in proportion 1 : 3) | |||||
|---|---|---|---|---|---|
|
|
|
|
|
| |
| Without rejection of spurious data | |||||
| GMM | 63.3 ± 9.9 | 62.4 ± 11.4 | 60.2 ± 11.2 | 60.5 ± 13.0 | 56.0 ± 11.2 |
| cHMM (1st level) | 63.8 ± 9.3 | 61.4 ± 10.6 | 57.8 ± 10.9 | 55.0 ± 14.0 | 42.6 ± 13.9 |
| cHMM (1st + 2nd level) | 63.8 ± 9.3 | 61.8 ± 9.7 | 57.0 ± 12.5 | 50.1 ± 15.5 | 43.4 ± 14.6 |
| With rejection of spurious data | |||||
| GMM | 85.4 ± 13.4 | 86.7 ± 14.9 | 83.4 ± 15.3 | 80.5 ± 16.2 | 81.7 ± 17.6 |
| cHMM (1st level) | 86.2 ± 12.9 | 87.1 ± 13.7 | 83.0 ± 14.6 | 80.2 ± 15.7 | 81.9 ± 17.6 |
| cHMM (1st + 2nd level) | 86.2 ± 12.8 | 86.1 ± 13.3 | 83.2 ± 14.0 | 76.1 ± 16.7 | 75.9 ± 20.6 |
Classification accuracy averaged over the seven subjects available in the sit-stand-walk dataset. The values are reported as mean ± standard deviation.
| Sit-stand-walk dataset | |||||
|---|---|---|---|---|---|
|
|
|
|
|
| |
| Without rejection of spurious data | |||||
| GMM | 94.1 ± 1.8 | 93.7 ± 4.1 | 94.8 ± 2.4 | 95.5 ± 1.9 | 95.8 ± 2.1 |
| HMM (1st level) | 95.2 ± 7.0 | 96.8 ± 3.0 | 98.5 ± 1.0 | 98.3 ± 1.1 | 98.1 ± 1.1 |
| HMM (1st + 2nd level) | 95.2 ± 7.0 | 97.4 ± 2.9 | 97.9 ± 2.4 | 97.0 ± 2.9 | 98.5 ± 1.0 |
| With rejection of spurious data | |||||
| GMM | 94.0 ± 1.8 | 95.6 ± 1.5 | 95.8 ± 2.3 | 95.6 ± 1.7 | 95.6 ± 1.5 |
| HMM (1st level) | 99.0 ± 1.0 | 98.6 ± 1.0 | 98.8 ± 1.0 | 98.8 ± 1.1 | 98.6 ± 1.1 |
| HMM (1st + 2nd level) | 99.0 ± 1.0 | 98.8 ± 1.0 | 98.8 ± 1.0 | 98.7 ± 1.1 | 98.7 ± 1.0 |
Confusion matrix obtained comparing HMM (1st + 2nd level) classifier output (columns) and the actual activity class labels after spurious data rejection (rows). All subjects' results are aggregated.
| cHMM |
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|
|
| 9686 | 10 | 3 | 29 | 1 | 53 | 22 |
|
| 0 | 6064 | 15 | 15 | 0 | 0 | 682 |
|
| 0 | 29 | 1825 | 2543 | 25 | 0 | 921 |
|
| 0 | 420 | 347 | 19189 | 35 | 0 | 613 |
|
| 0 | 2 | 4 | 1 | 580 | 6 | 23 |
|
| 2 | 0 | 0 | 0 | 0 | 18823 | 0 |
|
| 0 | 293 | 47 | 376 | 3 | 0 | 9939 |
Classification accuracy averaged over the seventeen subjects available in the seven-activity dataset, after removal of three anomalous subjects (see text). Spurious data are not inserted and M = 1.
| Classifier | Accuracy |
|---|---|
| GMM | 93.5 ± 6.0 |
| cHMM (1st level) | 95.1 ± 4.8 |
| cHMM (1st + 2nd level) | 95.1 ± 4.8 |
Confusion matrix obtained comparing HMM (1st + 2nd level) classifier output (columns) and the actual activity class labels after spurious data rejection (rows). All subjects' results are aggregated.
| cHMM | Sit | Stand | Walk |
|---|---|---|---|
| Sit | 4973 | 10 | 0 |
| Stand | 0 | 3989 | 28 |
| Walk | 0 | 64 | 2270 |
Figure 6Classification and spurious data rejection on a sequence of the sit-stand-walk dataset.
Figure 5The method of spurious data rejection is shown in action (see text).