| Literature DB >> 25014095 |
Anna Jurek1, Chris Nugent2, Yaxin Bi3, Shengli Wu4.
Abstract
Application of sensor-based technology within activity monitoring systems is becoming a popular technique within the smart environment paradigm. Nevertheless, the use of such an approach generates complex constructs of data, which subsequently requires the use of intricate activity recognition techniques to automatically infer the underlying activity. This paper explores a cluster-based ensemble method as a new solution for the purposes of activity recognition within smart environments. With this approach activities are modelled as collections of clusters built on different subsets of features. A classification process is performed by assigning a new instance to its closest cluster from each collection. Two different sensor data representations have been investigated, namely numeric and binary. Following the evaluation of the proposed methodology it has been demonstrated that the cluster-based ensemble method can be successfully applied as a viable option for activity recognition. Results following exposure to data collected from a range of activities indicated that the ensemble method had the ability to perform with accuracies of 94.2% and 97.5% for numeric and binary data, respectively. These results outperformed a range of single classifiers considered as benchmarks.Entities:
Mesh:
Year: 2014 PMID: 25014095 PMCID: PMC4168494 DOI: 10.3390/s140712285
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Standard deviation of accuracy obtained by CBCE for different numbers of base classifiers (K).
| St. Dev. | 15.34 | 3.5 | 1.7 | 0.47 | 0.42 | 0.41 |
List of the fourteen sensors installed in the apartment (van Kasteren, [10]).
| 1- | ‘Microwave’ |
| 5- | ‘Hall-Toilet door’ |
| 6- | ‘Hall-Bathroom door’ |
| 7- | ‘Cups cupboard’ |
| 8- | ‘Fridge’ |
| 9- | ‘Plates cupboard’ |
| 12- | ‘Front door’ |
| 13- | ‘Dishwasher’ |
| 14- | ‘Toilet Flush’ |
| 17- | ‘Freezer’ |
| 18- | ‘Pans Cupboard’ |
| 20- | ‘Washing machine’ |
| 23- | ‘Groceries Cupboard’ |
| 24- | ‘Hall-Bedroom door’ |
List of activities observed in experimental data set (van Kasteren, [20]).
| 1- | ‘Leave house’ | 34 |
| 4- | ‘Use toilet’ | 112 |
| 5- | ‘Take shower’ | 23 |
| 10- | ‘Go to bed’ | 24 |
| 13- | ‘Prepare breakfast’ | 20 |
| 15- | ‘Prepare dinner’ | 10 |
| 17- | ‘Get drink’ | 22 |
Output of the training process of the CBCE for the input parameter “ensemble size” equals 3.
|
| |||
|---|---|---|---|
| 1 | |||
| 2 | [0,0,0,0,0,0,1,0,0,0,0,0,0,0] | 0 0 0 0 0 0 25 | −1 −1 −1 −1 −1 −1 1 |
| 3 | [0,0,1,0,0,0,0,0,1,0,0,0,0,0] | 0 69 0 0 0 0 0 | −1 1 −1 −1 −1 −1 −1 |
| 4 | [0,0,0,1,1,0,0,0,0,0,0,0,0,0] | 0 0 1 0 12 0 0 | −1 −1 −0.5 −1 0.9 −1 −1 |
| 5 | [0,0,0,0,1,1,0,0,0,0,0,0,1,0] | 0 0 16 0 2 0 0 | −1 −1 0.9 −1 −0.2 −1 −1 |
| 6 | [0,0,0,1,0,0,0,0,0,0,0,0,0,0] | 0 0 0 0 1 0 0 | −1 −1 −1 −1 1 −1 −1 |
| 7 | [0,0,0,0,0,0,0,0,1,0,0,0,0,0] | 0 13 0 0 0 0 0 | −1 1 −1 −1 −1 −1 −1 |
| 8 | [0,0,1,0,0,0,0,0,0,0,0,0,0,0] | 0 10 0 1 0 0 0 | −1 0.9 −1 −0.4 −1 −1 −1 |
| 9 | [1,0,0,1,1,1,0,0,0,1,1,0,1,0] | 0 0 1 0 0 3 0 | −1 −1 0.1 −1 −1 0.7 −1 |
| 10 | [0,0,0,1,0,1,0,1,0,0,1,0,1,0] | 0 0 0 0 0 1 0 | −1 −1 −1 −1 −1 1 −1 |
| 11 | [0,0,0,1,1,0,0,1,0,1,0,0,0,0] | 0 0 0 0 1 0 0 | −1 −1 −1 −1 1 −1 −1 |
| 12 | [0,0,0,0,1,1,0,0,0,1,1,0,1,0] | 0 0 0 0 0 2 0 | −1 −1 −1 −1 −1 1 −1 |
| 13 | [0,0,0,0,1,1,0,1,0,1,1,0,0,0] | 0 0 1 0 0 0 0 | −1 −1 1 −1 −1 −1 −1 |
|
| |||
| 1 | [0,0,0,0,0,0,0,0,0,0,0,0,0,1] | 14 0 0 0 0 0 0 | 1 −1 −1 −1 −1 −1 −1 |
| 2 | [0,1,0,0,0,0,0,0,0,0,0,0,0,0] | 0 2 1 18 0 0 0 | −1 −0.3 −0.7 0.8 −1 −1 −1 |
| 3 | [0,0,0,0,0,0,1,0,0,0,0,0,0,0] | 0 0 0 0 0 0 24 | −1 −1 −1 −1 −1 −1 1 |
| 4 | [0,0,1,0,0,0,0,0,1,0,0,0,0,0] | 0 74 0 0 0 0 0 | −1 1 −1 −1 −1 −1 −1 |
| 5 | [0,1,0,0,0,0,1,0,0,0,0,0,0,0] | 0 0 0 0 0 0 1 | −1 −1 −1 −1 −1 −1 1 |
| 6 | [0,0,0,1,1,0,0,0,0,0,0,0,0,0] | 0 0 2 0 13 3 0 | −1 −1 −0.2 −1 0.7 0.03 −1 |
| 7 | [0,1,1,0,0,0,0,0,1,0,0,0,0,0] | 0 11 0 0 0 0 0 | −1 1 −1 −1 −1 −1 −1 |
| 8 | |||
| 9 | [0,0,0,0,1,1,0,0,0,0,0,0,1,0] | 0 0 14 0 2 2 0 | −1 −1 0.7 −1 −0.2 −0.2 −1 |
| 10 | [0,0,0,1,0,0,0,0,0,0,0,0,0,0] | 0 0 0 0 1 1 0 | −1 −1 −1 −1 0.4 0.4 −1 |
| 11 | [0,1,0,0,0,0,0,0,1,0,0,0,0,0] | 0 5 0 0 0 0 0 | −1 1 −1 −1 −1 −1 −1 |
|
| |||
| 1 | [0,0,0,0,0,0,0,0,0,0,0,0,0,1] | 9 3 0 0 0 0 0 | 0.7 0.1 −1 −1 −1 −1 −1 |
| 2 | [0,1,0,0,0,0,0,0,0,0,0,0,0,0] | 0 18 0 18 0 0 1 | −1 0.4 −1 0.4 −1 −1 −0.8 |
| 3 | [0,0,1,0,0,0,0,0,1,0,0,0,0,0] | 0 71 0 0 1 0 24 | −1 0.7 −1 −1 −0.9 −1 0.1 |
| 4 | [0,0,0,1,1,0,0,0,0,0,0,0,0,0] | 0 0 1 0 15 0 0 | −1 −1 −0.6 −1 0.9 −1 −1 |
| 5 | |||
| 6 | [0,0,0,0,1,1,0,0,0,0,0,0,1,0] | 0 0 18 0 0 5 0 | −1 −1 0.8 −1 −1 0.1 −1 |
| 7 | [0,1,0,0,0,0,0,0,0,0,0,0,0,1] | 5 0 0 0 0 0 0 | 1 −1 −1 −1 −1 −1 −1 |
Confusion matrix presenting number of true positives, true negatives, false positives and false negatives for a 2 class classification problem.
|
| |||
|---|---|---|---|
| Predicted Class | 1 | TP11 (true positive) | FP12 (false positive) |
| 2 | FN12 (false negative) | TN22 (true negative) | |
Figure 1.(a) Percentage value of accuracy and F-Measure obtained for sensor data with numeric representation. J48—J48 Tree, NB—Naive Bayes, kNN—K Nearest Neighbour, RF—Random Forrest, CBCE-Cluster-Based Classifier Ensemble; (b) Percentage value of accuracy and F-Measure obtained for sensor data with binary representation. J48—J48 Tree, NB—Naïve Bayes, kNN—K Nearest Neighbour, Random Forrest, CBCE—Cluster-Based Classifier Ensemble.
Confusion matrix for the CBCE method applied with numeric data.
| Bed | 23 | ||||||
| Toilet | 109 | ||||||
| Breakfast | 18 | 1 | 8 | ||||
| Shower | 3 | 23 | |||||
| Drink | 1 | 19 | |||||
| Dinner | 1 | 2 | |||||
| Leave | 32 |
Confusion matrix for the CBCE method applied with binary data.
| Bed | 23 | ||||||
| Toilet | 112 | 1 | |||||
| Breakfast | 17 | 2 | |||||
| Shower | 22 | ||||||
| Drink | 20 | ||||||
| Dinner | 3 | 8 | |||||
| Leave | 32 |
Percentage results obtained for CBCE and the best base classifier (BC) applied with numeric and binary data.
| CBCE | Numeric | 88.3 | 86.6 | 87.1 | 94.2 |
| Binary | 94.3 | 94.5 | 94.4 | 97.5 | |
| Best BC (14 attributes) | Numeric | 78.1 | 80.0 | 80.4 | 91.9 |
| Binary | 87.8 | 90.5 | 89.0 | 95.3 |
DB Index calculated for collection of activities in binary and numeric representations.
| Davies Bouldin Index | 1.03 | 1.6 |