| Literature DB >> 33114070 |
Farhad Ahamed1, Seyed Shahrestani1, Hon Cheung1.
Abstract
Identifying the symptoms of the early stages of dementia is a difficult task, particularly for older adults living in residential care. Internet of Things (IoT) and smart environments can assist with the early detection of dementia, by nonintrusive monitoring of the daily activities of the older adults. In this work, we focus on the daily life activities of adults in a smart home setting to discover their potential cognitive anomalies using a public dataset. After analysing the dataset, extracting the features, and selecting distinctive features based on dynamic ranking, a classification model is built. We compare and contrast several machine learning approaches for developing a reliable and efficient model to identify the cognitive status of monitored adults. Using our predictive model and our approach of distinctive feature selection, we have achieved 90.74% accuracy in detecting the onset of dementia.Entities:
Keywords: IoT in dementia care; IoT in healthcare; dementia; dementia and smart environment; internet of things; machine learning
Mesh:
Year: 2020 PMID: 33114070 PMCID: PMC7660294 DOI: 10.3390/s20216031
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Five core symptomatic areas linked to dementia.
Figure 2Flowchart of the system to identify the onset of dementia.
Figure 3Layout of the IoT sensors in CASAS dataset.
Activities performed by the participants.
| No. | Activities | Tag Name |
|---|---|---|
| 1. | Sweep the kitchen and dust the living room. | Task 1 |
| 2. | Obtain a set of medicines and fill a weekly medicine dispenser. | Task 2 |
| 3. | Write a birthday card, enclose a check, and address an envelope. | Task 3 |
| 4. | Find the appropriate DVD and watch the corresponding news clip. | Task 4 |
| 5. | Obtain a watering can and water all plants in the living space. | Task 5 |
| 6. | Answer the phone and respond to questions of the video from task 4. | Task 6 |
| 7. | Prepare a cup of soup using the microwave. | Task 7 |
| 8. | Pick a complete outfit for an interview from a selection of clothing. | Task 8 |
Figure 4CASAS data class distribution of total participants.
Figure 5Parallel coordinates plot of cognitively impaired vs healthy using standard deviation.
Figure 6Parallel coordinates plots of cognitively impaired vs. healthy using standard deviation after replacing the missing values. (a) The second instance of training data (imbalanced) (b) The third instance of training data (balanced with SMOTE)
Figure 7Patterns in the dataset on various parameters. (a) Net sensor events; (b) Net-time of task completion (c) Task completion score (d) Per-task time duration
Figure 8Feature ranking amongst pre-selected features.
Figure 9All the feature ranking based on importance score.
Train the model with Imbalanced Data (Except FFNN).
| Cognitively Impaired Class | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model Type | TN | FN | FP | TP | Sensitivity | Specificity | Precision | Accuracy | F-Score |
| Coarse Decision Tree | 169 | 25 | 25 | 31 | 55.36% | 87.11% | 55.36% | 80.00% | 67.70% |
| Linear Discriminant | 185 | 42 | 9 | 14 | 25.00% | 95.36% | 60.87% | 79.60% | 39.61% |
| Logistics Regression | 184 | 39 | 10 | 17 | 30.36% | 94.85% | 62.96% | 80.40% | 45.99% |
| Kernel Naïve Bayes | 178 | 18 | 16 | 38 | 67.86% | 91.75% | 70.37% | 86.40% | 78.02% |
| Quadratic SVM | 182 | 30 | 12 | 26 | 46.43% | 93.81% | 68.42% | 83.20% | 62.12% |
| Cubic KNN | 186 | 39 | 8 | 17 | 30.36% | 95.88% | 68.00% | 81.20% | 46.11% |
| Ensemble Bagged Trees | 187 | 30 | 7 | 26 | 46.43% | 96.39% | 78.79% | 85.20% | 62.67% |
| Ensemble RUSBoosted | 155 | 14 | 39 | 42 | 75.00% | 79.90% | 51.85% | 78.80% | 77.37% |
| FFNN | 175 | 19 | 29 | 177 | 90.31% | 85.78% | 85.92% | 88.00% | 87.99% |
Train the model with a bias to reduce FN and increase TP value.
| Cognitively Impaired Class (Imbalanced Data) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Model Type | TN | FN | FP | TP | Sensitivity | Specificity | Precision | Accuracy | F-Score | Cost |
| Fine Decision Tree | 159 | 14 | 35 | 42 | 75.00% | 81.96% | 54.55% | 80.40% | 78.33% | 455 |
| Discriminant | 59 | 2 | 135 | 54 | 96.43% | 30.41% | 28.57% | 45.20% | 46.24% | 175 |
| Naïve Bayes | 150 | 11 | 44 | 45 | 80.36% | 77.32% | 50.56% | 78.00% | 78.81% | 264 |
| SVM | 133 | 21 | 61 | 35 | 62.50% | 68.56% | 36.46% | 67.20% | 65.39% | 481 |
| KNN | 173 | 30 | 21 | 26 | 46.43% | 89.18% | 55.32% | 79.60% | 61.06% | 621 |
| Ensemble | 158 | 14 | 36 | 42 | 75.00% | 81.44% | 53.85% | 80.00% | 78.09% | 456 |
Train the model with balanced data using SMOTE.
| Cognitively Impaired | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model Type | TN | FN | FP | TP | Sensitivity | Specificity | Precision | Accuracy | F-Score |
| Fine Decision Tree | 158 | 36 | 24 | 173 | 82.78% | 86.81% | 87.82% | 84.65% | 84.75% |
| Linear Discriminant | 147 | 47 | 86 | 111 | 70.25% | 63.09% | 56.35% | 65.98% | 66.48% |
| Logistics Regression | 147 | 47 | 81 | 116 | 71.17% | 64.47% | 58.88% | 67.26% | 67.65% |
| Kernel Naïve Bayes | 157 | 37 | 52 | 145 | 79.67% | 75.12% | 73.60% | 77.24% | 77.33% |
| Fine Gaussian SVM | 144 | 50 | 15 | 182 | 78.45% | 90.57% | 92.39% | 83.38% | 84.07% |
| Fine KNN | 149 | 45 | 10 | 187 | 80.60% | 93.71% | 94.92% | 85.93% | 86.66% |
| Ensemble Boosted Tree | 174 | 20 | 13 | 184 | 90.20% | 93.05% | 93.40% | 91.56% | 91.60% |
| Ensemble RUSBoosted | 155 | 39 | 19 | 178 | 82.03% | 89.08% | 90.36% | 85.17% | 85.41% |
| FFNN | 149 | 45 | 51 | 146 | 76.44% | 74.50% | 74.11% | 75.45% | 75.46% |
Testing the models.
| Cognitively Impaired | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model Type | TN | FN | FP | TP | Sensitivity | Specificity | Precision | Accuracy | F-Score |
| Median Tree | 34 | 16 | 0 | 6 | 27.27% | 100.00% | 100.00% | 71.43% | 42.86% |
| Kernel Naïve Bayes | 33 | 11 | 1 | 9 | 45.00% | 97.06% | 90.00% | 77.78% | 61.49% |
| SVM | 33 | 13 | 1 | 7 | 35.00% | 97.06% | 87.50% | 74.07% | 51.45% |
| KNN | 31 | 14 | 3 | 6 | 30.00% | 91.18% | 66.67% | 68.52% | 45.15% |
| RUSBoosted Ensemble | 34 | 4 | 0 | 16 | 80.00% | 100.00% | 100.00% | 92.59% | 88.89% |
| FFNN | 34 | 0 | 6 | 14 | 100.00% | 85.00% | 70.00% | 88.89% | 91.89% |
Testing the models created from SMOTE data.
| Cognitively Impaired | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model Type | TN | FN | FP | TP | Sensitivity | Specificity | Precision | Accuracy | F-Score |
| Fine Decision Tree | 31 | 2 | 3 | 18 | 90.00% | 91.18% | 85.71% | 90.74% | 90.58% |
| Kernel Naïve Bayes | 29 | 6 | 5 | 14 | 70.00% | 85.29% | 73.68% | 79.63% | 76.89% |
| Fine Gaussian SVM | 27 | 1 | 5 | 19 | 95.00% | 84.38% | 79.17% | 88.46% | 89.37% |
| Fine KNN | 24 | 1 | 10 | 19 | 95.00% | 70.59% | 65.52% | 79.63% | 80.99% |
| Boosted Tree Ensemble | 27 | 0 | 7 | 20 | 100.00% | 79.41% | 74.07% | 87.04% | 88.52% |
| RUSBoosted Ensemble | 30 | 4 | 2 | 18 | 81.82% | 93.75% | 90.00% | 88.89% | 87.38% |
| FFNN | 28 | 6 | 6 | 14 | 70.00% | 82.35% | 70.00% | 77.78% | 75.68% |