- 1Department of Cyber Security, Air University, Islamabad, Pakistan
- 2Department of Electrical and Computer Engineering, Lebanese American University, Byblos, Lebanon
- 3Department of Accounting and Information Systems, College of Business and Economics, Qatar University, Doha, Qatar
- 4Department of Computer Games Development, Air University, Islamabad, Pakistan
- 5Department of Cyber Security, National University of Computer and Emerging Science, Islamabad, Pakistan
- 6College of Computer and Information Sciences, Jouf University, Sakakah, Saudi Arabia
- 7Department of Computer Science & IT, University of Malakand, Chakdara, Pakistan
Explainable artificial intelligence (XAI) is of paramount importance to various domains, including healthcare, fitness, skill assessment, and personal assistants, to understand and explain the decision-making process of the artificial intelligence (AI) model. Smart homes embedded with smart devices and sensors enabled many context-aware applications to recognize physical activities. This study presents XAI-HAR, a novel XAI-empowered human activity recognition (HAR) approach based on key features identified from the data collected from sensors located at different places in a smart home. XAI-HAR identifies a set of new features (i.e., the total number of sensors used in a specific activity), as physical key features selection (PKFS) based on weighting criteria. Next, it presents statistical key features selection (SKFS) (i.e., mean, standard deviation) to handle the outliers and higher class variance. The proposed XAI-HAR is evaluated using machine learning models, namely, random forest (RF), K-nearest neighbor (KNN), support vector machine (SVM), decision tree (DT), naive Bayes (NB) and deep learning models such as deep neural network (DNN), convolution neural network (CNN), and CNN-based long short-term memory (CNN-LSTM). Experiments demonstrate the superior performance of XAI-HAR using RF classifier over all other machine learning and deep learning models. For explainability, XAI-HAR uses Local Interpretable Model Agnostic (LIME) with an RF classifier. XAI-HAR achieves 0.96% of F-score for health and dementia classification and 0.95 and 0.97% for activity recognition of dementia and healthy individuals, respectively.
1. Introduction
Smart home and artificial intelligence (AI)-based healthcare systems are appreciated as an excellent paradigm to solve privacy issues in smart homes (1–7). Explainable artificial intelligence (XAI) is the explainable category of AI (black box) in which humans can understand the solution results (8). Smart homes support automated sustainability to encourage smart cities, smart communities, and high technology-driven solutions (9, 10). Smart homes provide sustainable health solutions such as supporting cognitively impaired individuals by assessing their daily life routine, remote monitoring of home devices for activity recognition, emotion analysis, and depression estimation (11–17).
Currently, neuropsychologists and clinicians are interested in insight into an individual's functional ability to detect diseases early (18–20). There are many solutions to track and monitor an individual's functional ability, such as wearable sensors, vision-based recognition, Wi-Fi-based activity recognition, smartphone-based human activity recognition (HAR), and intelligent homes utilizing the Internet of Things (IoT) (21–26). To assess the functional ability of cognitively impaired individuals, IoT-oriented smart home infrastructures are the most suitable (27–30). Smart homes play an important role in driving the smart cities' revolution by incorporating IoT that connects several devices, systems, and technologies to achieve health-related tasks. A smart home infrastructure is equipped with robust and autonomous smart sensors, for instance, motion, temperature, pressure, and electricity usage sensors, to provide assisted living solutions (31). Actions done in a smart home includes eating, sleeping, cooking, medications, task support parallelism, sequence, and interruption, such as listening to a phone call and writing cards while cooking. There is much discussion about the validity of using an IoT-oriented smart home infrastructure for smart home residents' functional ability assessment. For example, the work of Stavrotheodoros et al. (23) suggested that daily life functional activity assessment is a reasonable way to measure the decline in perceptions. The authors in Wilson et al. (32) argue that data collection is more subtle in a smart home habitat than in a dedicated laboratory environment.
This study presents an activity recognition approach, XAI-HAR, to identify key features from a high dimensional feature matrix and augments statistical features to generalize the process of smart home recognizing activities. It is important to retain better the original meaning and representation of a feature matrix to understand a cognitively impaired individual's functional ability. This study makes the following contributions:
• A novel XAI-empowered HAR assessment approach based on key feature identification from the data collected from smart sensors located at different places of a sustainable smart home.
• Introduced a weighting criterion to the sensor events produced in a smart home.
• Provide a combination of the new feature set based on physical key features selection (PKFS) and statistical key features selection (SKFS) for accurate activity recognition.
• Analyze and validate the effectiveness of both key feature selection approaches on the performance of the recognition of activities using machine learning algorithms.
• XAI-HAR effectively enhances the recognition rate with consistent performance.
The rest of the study is organized as follows: The literature review is presented in Section 2. The selected smart home dataset is discussed and presented in Section 3.1. Section 3 details the proposed approach. The experimental setup and results are presented in Section 4. Finally, in Section 5, the conclusion and future work are presented.
2. Background
This section presents the related work on the fusion of activity monitoring and XAI.
2.1. Activity monitoring
A smart home is embedded with a diversity of smart devices and sensors. A smart home is equipped with temperature, motion, heat, and light sensors that human-specific devices such as smartphones and computers can remotely control. These sensors are intelligent enough to reason about and decide our smart home environment setting (33–35). Recently, IT organizations have offered some frameworks for smart homes in an endeavor to capitalize on the market and facilitate the customers in their service-based smart environment so that the market competition and industrial advancement will return as financial advantages to the general public of the smart urban areas (36).
Recent studies highlight that remote monitoring and assisted living could provide patients with real-time assistance and significantly minimize all risks while performing different daily living actions (29, 30, 37). The authors in Dawadi et al. (28, 30) use smart homes for activity assessment of a resident and reported that it is the optimal way to monitor and assist the patient living in it. The data gathered from the interactive sensors deployed in the surrounding can be utilized to recognize activities of daily living (ADLs) carried out inside a smart home, such as food preparation, drinking water, and medication. ADLs automated recognition is crucial in observing a smart home resident's functional health. According to a survey on assistive technologies, the top priority of caregivers of patients with Alzheimer's disease is to identify and track their activity. In Cook (35), the authors survey a generalized activity model that combines sensor actions from all testbeds into one uniform labeled dataset. They applied three basic machine learning algorithms, such as naive bayes (NB), hidden Markov model (HMM), and conditional random field (CRF), over annotated activities. The research of Sarwar and Javed (38) and Javed et al. (39) is designed to make a helping mechanism that assists individuals to live healthfully. After recognizing the physical activities and consent of guardians, doctors, and intelligent agent rankers, a good healthcare plan is suggested.
The authors in Fong et al. (40) proposed a feature-based mechanism for training classifiers that recognizes human activities. They extracted the spatial features called shadow features, which describe current sensor data positions by modeling the performed activities' momentum. The shadow features also highlight the additional information dimensions for nominating activities in the recognition process. Furthermore, they evaluate the devised approach using a wearable and Kinect-based remote sensor. The authors in Eastwood et al. (41) design a set of physical features representing human motion to augment the statistical features. For activity recognition, the authors in Lu et al. (42) extracted latent features from data acquired from sensors with Beta Process hidden Markov model (43). To do that, first, they used the dependent beta process and later integrated sensors' state constraints into sampling. The trained support vector machine (SVM) recognizes the activities from these latent features.
The approach proposed by Cook (35) aims to learn a generalized activity model by combining sensor events from different age groups, such as younger adults, healthy older adults, older adults with dementia, and pets. They used CRF, NB, and HMM for recognition. To improve activity recognition, a segmental pattern mining approach is proposed, in which the segment is a consecutive time event of the same activity (44). In Dawadi et al. (27), the authors present a study for health assessment of cognitively impaired individuals to track the health status in the early stages of the individuals moving toward the critical stage such as dementia. Their focus was to classify healthy individuals and individuals with dementia.
2.2. Explainable artificial intelligence
Reducing healthcare costs and sustaining a healthier life are important driving factors for governments to invest in smart cities. The authors in Chen et al. (45) discuss using machine learning (ML) algorithms to mitigate healthcare anomalies. They propose a 5G-Smart Diabetes system for patients with diabetes using sensors and patient vital analysis. in Eastwood et al. (41) designed a set of physical features representing human motion to augment the statistical features. First, a single-layer feature selection framework is applied to analyze the impact on recognition performance. They analyzed that different feature selection mechanisms extract qualitative features that may, in turn, increase the accuracy of recognition. An analysis is conducted on recognizing activities using quick propagation, Levenberg Marquardt, and batch back propagation algorithms (46). Several features are presented that can be used for activity recognition in Chinellato et al. (47). These features are based on time-related measures (i.e., time of occurrence, duration, and repetition), space-related measures (i.e., location of occurrence, movement), complexity-related measures (i.e., event analysis, person analysis, and object analysis), and inter activity-related measures. They used linear discriminative analysis (LDA), random forest (RF), NB, and SVM for recognition.
In summary, the current studies of feature selection lack in selecting a significant feature subset from the whole dataset as the best representative of all features (48). Some drawbacks of the feature selection methods discussed in the literature (40, 49) are: (1) In the case of a smart home, the location of a sensor can be the best feature to represent the whole feature matrix, but it may not correctly the activities performed at other locations or interleaved locations, (2) A feature considered best for one activity can be worst for some other activities such as the location feature, (3) A feature representing the activities of healthy individuals may not correctly represent the activities performed by individuals with dementia, and (4) A feature consisting of frequencies of corrupt or damaged sensors.
By considering the above analysis, the following research questions (RQ) are presented:
• RQ1: How to identify key features from a high dimensional feature matrix and augment statistical features to generalize the process of smart home-based activity recognition and interpret the results using explainable AI methods?
• RQ2: How to retain a feature matrix's original meaning and representation to understand a cognitively impaired individual's functional ability?
• RQ3: How to define a weighting criterion for the sensor events produced in a smart home?
• RQ4: What is the effectiveness of the weighting criterion on feature selection?
3. Methodology
In this section, we discuss the suggested approach for activity recognition named XAI-HAR for the activities performed by the healthy individuals and individuals with dementia residing in smart homes. The proposed approach provides a privacy-preserved environment to the resident as the data are collected from motion, pressure, and similar binary state sensors. This approach is being used and recommended by state-of-the-art studies (50–54). XAI-HAR consists of two steps: physical key features selection (PKFS) and statistical key features selection (SKFS) to form a feature matrix corresponding to different well-established contemporary methods used for recognizing activities. XAI-HAR presents the concept of selecting vital local features within the dataset. These selected local key features are then transformed for activity recognition. Figure 1 summarizes XAI-HAR for data collection and analysis.
3.1. Dataset selection
The XAI-HAR approach is evaluated the publicly available Cognitive Assessment Activity (Kyoto) dataset (27) from the Center for Advanced Studies in Adaptive Systems (CASAS)1. The dataset contains passive and automatic sensing data collected from 79 participants from an on-campus smart home testbed at Washington State University. The smart home consists of a living room, kitchen, and dining room on the first floor. The second floor consists of an office, a bathroom, and two bedrooms. The participant's interaction with the smart home is recorded with binary, digital, and analog sensors.
Figure 2 provides an overview of the raw dataset. For example, motion sensors (Mxx) are deployed on the ceiling, door sensing devices (Dxx) on cabinets and doors, temperature-sensitive devices (Txx) in each room, light sensors (Lxx), burner sensors (AD1-A), hot water sensors (AD1-B), cold water sensors (AD1-C), whole apartment electricity usage (P001), and item sensors (Ixx) placed on specific items. Sensor events are generated and recorded, whereas the participants perform the activities. Each sensor event comprises a date, time, id, and state (value). Such events are used to make instances for different activities. Sensor events are combined for each activity into a period (starting and ending) as a single sample (instance), representing each participant's activity progress. The sensor events are extracted from the state feature based on the starting and ending activities shown as 19−start and 19−end. Each sensor event in this activity is counted based on that sensor's triggering and added as an instance in the dataset.
The dataset contains instances of simple daily life activities. Simple daily life activities are defined as those performed in daily routine and are not interwoven, for instance, taking medicine while doing the dishes. However, in the CASAS dataset, the activities reported by the same sensors and performed in the exact location are difficult to discriminate, such as preparing breakfast, preparing soup, and sweeping the kitchen. Table 1 summarizes the dataset's characteristics used in this study. The ground truth about the personals is generated by comprehensive clinical assessments, which include a review of medical records, neuropsychological testing data, telephone interview of cognitive status (TICS), clinical dementia rating, and some other ways (27).
3.2. Feature extraction
A count of 254 features is retrieved from the sensing data. These features help to identify how well an activity is performed. For example, if a person gets stuck or slows in performing an activity, his/her activity duration time would increase. A participant with dementia would not complete an activity on time due to multiple reasons, such as mistakes wandering and confusion in performing an activity. The following features are those extracted from Dawadi et al. (27):
• Duration: Total time spent to complete an activity.
• Sensor Count: Total number of times a particular sensor is used during the activity.
• Sensor Events: Total number of unique sensor events.
• Activity Completeness: A boolean feature representing the participant's ability to accomplish all eight actions.
• Activity Label: Class label of the individual (i.e., sweeping, watering).
3.3. Feature design
Feature design or feature engineering selects the best features and then constructs generic features from the feature matrix capable of efficiently differentiating activities. Feature selection simplifies the model for better understanding and a more straightforward interpretation for users or researchers. A significant benefit of feature selection is that it reduces the number of features the model will train, eventually reducing the training time. In many cases, the feature matrix consists of either dissociated or repeating features that result in overfitting a model, increasing the model's complexity. Usually, the dataset with high dimensions, such as the CASAS dataset which has hundreds of features, may contain a large number of irrelevant and redundant information, which eventually reduces the performance of the learning algorithm (55). Feature selection enhances the model's generalization and accuracy, reducing the chances of overfitting if the right subset of features is selected. To select the dataset's best features, it is necessary to excerpt features set from the raw dataset. The below sections explain two sets of features extracted from the raw dataset.
3.4. Physical key feature selection
Physical features are interpreted by human activities performed in a smart home. To systematically identify and assess the usefulness of the most important features for correctly categorizing various activities, many sophisticated techniques can be used to search the compact feature subsets from the dataset. The below equations present the complete process of selecting optimal features from the entire dataset for a smart home resident's cognitive health assessment.
To select the features for PKFS, the CASAS dataset (27) is considered well known for cognitive impaired classification. It consists of different activity classes and several activity instances where D = D1, D2, …, Dx represent the different classes and I = i1, i2, …, ikx represent the instance belonging to each class Dx, and features of dataset D are the unique sensors S = s1, s2, …, sn that were triggered as on/off while performing activities instances Ikx in a smart home and temporal information Ti. Each feature consists of total frequency, , in the numeric form of the activated sensor during the progression of activity. The sensors not triggered while performing activities were assigned zero, . In this way, the feature matrix Fkx consisting of activity instances Ikx can be represented by the following Equation 1:
Since the values vary widely in ranges of raw data because healthy individuals and individuals with dementia performed the activities, there are high chances of abnormality in sensor frequency. In some machine learning algorithms, objective functions will not work correctly and efficiently. The feature matrix is shifted to a scaled version of a feature matrix to eliminate specific gross influences to address this problem. The Rescaling method has been used to normalize the range of features using Equation (2) as follows:
Scaling works better for ML models where the distance between the data points varies widely. In Equation (2), x is the real value of the instance, and x′ is the normalized value. The scaled feature matrix for all activities can be described by Equation (3), according to the proposed approach:
Currently, the feature matrix is in shape to select the key feature. A set denoted by Sk is initially initialized with an empty set ϕ. Best key features Bf are extracted from activities Dx by counting the features of . In Equation (4), returns the number of features in a list containing all features where each feature in has a frequency greater than 0.
The value of Uf is user-defined, as shown in Equation (5), which allows the user to choose the number of best features from the feature matrix, and similarly, Ui in Equation (6) allows the user to select the number of instances. It provides full authority to the user to control the feature selection process, which could be sufficient for deciding the feature as a key feature to perform the health assessment of a smart home resident.
The cross-validation technique is applied to assess the value of Ui and Uf. The best-selected features are then appended to the empty set ϕ. If the selected feature is already in the set, it is discarded; else, it is appended. This process is repeated until each class's features are added or discarded.
The precedence is given to each feature Fs in a certain activity based on its occurrence. This process is repeated based on the maximum frequency in an activity to obtain an overall generic feature matrix. The features having low occurrence inactivity are discarded. Later, the feature matrix is formed based on Equation (6) for the best key features. The feature matrix features have maximum precedence in set ϕ as shown in Equation (7).
3.5. Statistical key feature selection
Statistical features are a dataset's features which can be defined and calculated through statistical analysis. Statistical models are generic, increasing the capability of any model to recognize different activities at a fine-grained level. The common statistical features are bias, variance, mean, median, percentiles, standard deviation, etc. Researchers investigated that it is useful to use the statistical feature for human activity recognition (41). For example, it is proved that variance helps to achieve higher accuracy for different activities, such as walking, jogging, and hopping. The extracted statistical features are root mean square, standard deviation, mean, median, variance, averaged derivatives, zero-crossing rate, interquartile range, mean crossing rate, kurtosis, skewness, pairwise correlation, and spectral entropy from feature matrix generated by PKFS. After successfully extracting statistical features, these features are appended in the previous matrix made by PKFS. The statistical features are represented by Sfkx, and the whole key feature matrix is represented by Equation (8).
3.6. XAI-HAR
Various traditional well-known feature selection techniques, namely, principal component analysis (PCA), minimum redundancy maximum relevance (mRMR), information gain (IG), and the proposed technique XAI-HAR is applied along with the machine learning algorithms random forest (RF), K-nearest neighbor (KNN), decision tree (C4.5), support vector machine (SVM), Heoffding tree (HT), multilayer perceptron (MLP), and naive Bayes (NB) for activity recognition. For further comparison, we also apply deep learning algorithms, such as deep neural network (DNN), convolution neural network (CNN), and CNN-based long short-term memory (CNN-LSTM). These methods for selecting feature selection are very effective in selecting the best features. These feature selection techniques are selected to compare and evaluate the proposed feature selection approach XAI-HAR for activity recognition. For PCA, we set the variance to 95%. We use local interpretable model agnostic (LIME) and apply it to RF (default parameters) to analyze the main components and explain essential features. LIME provides the model interpretability by producing meaningful and vital information. For KNN, the batch size is set to 100, the nearest neighbors are set to 1, the nearest neighbor searching algorithm is set to LinearNNSearch, and distance weighting is set to False. For the decision tree, the batch size is set to 100, the confidence factor is set to 0.25, subtreeRaising is set to True, and reducErrorPruning is set to False. For SVM, the batch size is set to 100, the complexity parameter is set to 1.0, the kernel is set to PolyKernel, and the tolerance parameter is set to 0.001. For NB, the batch size is set to 100, and useKernalEstimator is set to false. For DNN, the activation is relu in hidden layers and softmax in the output layer along with the optimizer as adam. For CNN and CNN-LSTM, the same parameters are set with the kernel_size as 3.
4. Experimental analysis and results
The proposed approach XAI-HAR is fundamentally different from other approaches in the way that XAI-HAR defines K subsets of features for K activity classes. In contrast, feature selection methods such as IG, mRMR, and PCA return a single subset of features from the existing feature set, given as input to selected classifiers. Furthermore, XAI-HAR uses the LIME-based RF model to analyze the main components and explain essential features. This section discusses the different valuation metrics for experimentation and evaluation. For experimentation, CASAS-Cognitive Assessment Activity (Kyoto) (27) dataset is used which is well known for cognitively impaired individuals research. Different experimental analyses are performed with different criteria on the dataset. Three-fold cross-validation (56) is applied for all experiments. This test leaves 1:3 part of the dataset for testing and 2:3 part for training. The KNN, SVM, DT C4.5, HT, MLP, and NB algorithms are used to evaluate the recognition results. For further comparison, we also apply deep learning algorithms, such as deep neural network (DNN), convolution neural network (CNN), and CNN-based long short-term memory (CNN-LSTM).
4.1. Evaluation metrics
The selection of evaluation metrics depends on the essence of the data. Accuracy is mainly considered a key evaluation metric when the data are balanced (i.e., an equal number of observations) (57). However, accuracy alone can be misleading if a dataset contains imbalanced observations in each category. To overcome this limitation, recall, precision, and f-score evaluation metrics are a rationale for the performance computation of DFCII. Given as under are the practical terms to help in evaluation and analysis. TP (i.e., true positive rate representing correctly categorized instances) calculates the accuracy by dividing it by N (all the samples of all activities). The recall measure is computed by TP divided by TP+FN (where FN is the false negative rate that provides wrongly recognized samples). We divide TP by TP+FP (false positive rate: samples of other activities wrongly recognized as one activity sample), and we obtain the precision of a technique. F-score shows the harmonic mean of recall and precision. The experiment's computing environment is set as Intel(R) Corei5, 8th Generation with 16 GB RAM, Windows 10 OS, and Python version 3.7.6 as shown in Table 2.
For cognitive health assessment, the f-score is used as a critical evaluation measure because the f-score is the most appropriate for the imbalanced data (57).
Figure 3 illustrates the f-score of each activity on activities of individuals with dementia and healthy individuals when XAI-HAR, PCA, IG, and mRMR are applied with the RF learning method. For kitchen activity, the XAI-HAR achieves 96% f-score, while PCA, IG, and mRMR achieve 87, 81, and 83% f-score, respectively. For medicine activity, the XAI-HAR achieves 97% f-score, while PCA, IG, and mRMR achieve 91, 81, and 84% f-score, respectively. For birthday card activity, the XAI-HAR achieves 94% f-score, while PCA, IG, and mRMR achieve 80, 77, and 81% f-score, respectively. In the case of DVD activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 84, 80, and 81% f-score, respectively. For watering activity, the XAI-HAR, PCA, IG, and mRMR achieve 98, 91, 82, and 90% f-score, respectively. For phone activity, the XAI-HAR, PCA, IG, and mRMR achieve 94, 82, 80, and 74% f-score, respectively. In the case of soup activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 84, 87, and 83% f-score, respectively. For outfit activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 90, 82, and 80% f-score, respectively. It is seen that all feature selection methods achieved less accurate results than XAI-HAR when the activities performed by individuals with dementia and healthy individuals were classified collectively.
Figure 3. The comparison of the proposed XAI-HAR with feature selection methods such as PCA, mRMR, and IG in combination with RF for each activity of individuals with dementia and healthy individuals.
Figure 4 presents the f-score of each activity on the healthy individual's activities when XAI-HAR, PCA, IG, and mRMR are applied with the RF learning method. For kitchen activity, the XAI-HAR achieves 96% f-score, while PCA, IG, and mRMR achieve 70, 82, and 85% f-score, respectively. For medicine activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 92, 85, and 75% f-score, respectively. For birthday card activity, the XAI-HAR achieves 95% f-score, while PCA, IG, and mRMR achieve 84, 76, and 95% f-score, respectively. In the case of DVD activity, the XAI-HAR achieves 99% f-score, while PCA, IG, and mRMR achieve 77, 82, and 85% f-score, respectively. For watering activity, the XAI-HAR, PCA, IG, and mRMR achieve 96, 76, 60, and 76% f-score, respectively. For phone activity, the XAI-HAR, PCA, IG and mRMR achieve 93, 67, 90, and 83% f-score, respectively. In the case of soup activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 77, 95, and 92% f-score, respectively. For outfit activity, the XAI-HAR achieves 95% f-score, while PCA, IG, and mRMR achieve 85, 92, and 90% f-score, respectively. The results conclude that all feature selection methods achieve less accuracy than XAI-HAR when only the activities performed by healthy individuals are classified.
Figure 4. The comparison of the proposed XAI-HAR with feature selection methods such as PCA, mRMR, and IG in combination with RF for each activity of healthy individuals.
Figure 5 presents the f-score of each activity on the activities of individuals with dementia when XAI-HAR, PCA, IG, and mRMR are applied with the RF learning method. For kitchen activity, the XAI-HAR achieves 95% f-score, while PCA, IG, and mRMR achieve 89, 85, and 82% f-score, respectively. For medicine activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 90, 85, and 79% f-score, respectively. For birthday card activity, the XAI-HAR achieves 96% f-score, while PCA, IG, and mRMR achieve 86, 79, and 90% f-score, respectively. In the case of DVD activity, the XAI-HAR achieves 99% f-score, while PCA, IG, and mRMR achieve 87, 89, and 85% f-score, respectively. For watering activity, the XAI-HAR, PCA, IG, and mRMR achieve 96, 89, 90, and 86% f-score, respectively. For phone activity, the XAI-HAR, PCA, IG, and mRMR achieve 94, 79, 81, and 83% f-score, respectively. In the case of soup activity, the XAI-HAR achieves 98% f-score, while PCA, IG, and mRMR achieve 90, 84, and 92% f-score, respectively. For outfit activity, the XAI-HAR achieves 99% f-score, while PCA, IG, and mRMR achieve 88, 90, and 90% f-score, respectively. It is shown that all feature selection methods achieved less accurate results than XAI-HAR when only the activities performed by individuals with dementia are classified.
Figure 5. Comparison of proposed XAI-HAR with feature selection methods such as PCA, mRMR, and IG in combination with RF for each activity of individuals with dementia.
Table 3 presents a comparison of XAI-HAR with PCA, IG, and mRMR using the performance evaluation metrics on the CASAS dataset (27). We use KNN, SVM, DT, NB, HT, MLP, RF, DNN, CNN, and CNN-LSTM learning models for comparison. XAI-HAR improves recognition performance compared with all other models. XAI-HAR achieves the best accuracy of 96.4% in combination with RF compared with KNN, SVM, DT, HT, MLP, and NB. While analyzing the XAI-HAR with existing feature selection approaches, i.e., PCA, IG, and mRMR, XAI-HAR achieves better results. The XAI-HAR with RF achieved a 5% high f-score compared with PCA-based learning models on activities of healthy individuals and individuals with dementia. Similarly, XAI-HAR with RF achieved a 5% high f-score compared with IG-based learning models on activities of healthy individuals and individuals with dementia. The XAI-HAR with RF achieved a 12% high f-score compared with mRMR-based learning models on activities of healthy individuals and individuals with dementia While on activities of individuals with dementia, XAI-HAR with RF achieved a 13% high f-score compared with PCA-based learning models. Similarly, XAI-HAR with RF achieved an 11% high f-score compared with IG-based learning models on activities of healthy individuals and individuals with dementia. XAI-HAR with RF achieved a 3% high f-score compared with mRMR-based learning models on activities of healthy individuals and individuals with dementia. Finally, in healthy individuals' activities, XAI-HAR with RF achieved a 6% high f-score compared with PCA-based learning models. Similarly, XAI-HAR with RF achieved a 9% high f-score compared with IG-based learning models on activities of healthy individuals and individuals with dementia. XAI-HAR with RF achieved an 8% high f-score compared with mRMR-based learning models on activities of healthy individuals and individuals with dementia.
Table 3. F-score-based comparison of XAI-HAR with other feature selection and classification techniques for activities in CASAS Dataset (27).
It is noticed in most cases that the RF outperforms all other classifiers in terms of accuracy, and the HT classifier has the lowest accuracy.
Table 4 presents the time complexity of all models. Experiments reveal that the least model compiling time of the XAI-HAR approach on healthy and dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 246 s using the CNN-LSTM model. Next, the least model compiling time of the PCA feature selection approach on the healthy and dementia individuals dataset is 0.11 s using NB, and the highest model compiling time is 195 s using the MLP classifier. Furthermore, the least model compiling time of the IG feature selection approach on healthy and dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 55 s using the CNN-LSTM classifier. Furthermore, the least model compiling time of the mRMR feature selection approach on the healthy and dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 324 s using the CNN-LSTM classifier. Next, the least model compiling time of the XAI-HAR approach on the dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 21 s using the CNN-LSTM model. Furthermore, the least model compiling time of the PCA feature selection approach on the dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 24 s using the CNN-LSTM model. Furthermore, the least model compiling time of the IG feature selection approach on the dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 10 s using the CNN-LSTM model. Furthermore, the least model compiling time of the mRMR feature selection approach on the dementia individuals dataset is 0.01 s using KNN, and the highest model compiling time is 3 s using the CNN-LSTM model. Next, the least model compiling time of the XAI-HAR approach on the healthy individuals dataset is 0.01 s using KNN, and the highest model compiling time is 144 s using the CNN-LSTM model. Furthermore, the least model compiling time of the PCA feature selection approach on the healthy individuals dataset is 0.01 s using KNN, and the highest model compiling time is 144 s using the CNN-LSTM model. Furthermore, the lowest model compiling time of the IG feature selection approach on the healthy individuals dataset is 0.01 s using KNN, and the highest model compiling time is 82 s using the CNN model. Furthermore, the least model compiling time of the mRMR feature selection approach on the healthy individuals dataset is 0.01 s using KNN, and the highest model compiling time is 42 s using the CNN model.
Table 4. Time-based comparison of XAI-HAR with other feature selection and classification techniques for activities in the casas dataset (27).
Table 5 presents the confusion matrix of the proposed approach. It shows how many instances of one activity get confused with instances of other activities. The kitchen activity is getting confused with the phone activity. The birthday card activity and phone activity are getting confused with each other. In comparison, the remaining five activities are recognized accurately. Overall, XAI-HAR achieved better results than other approaches.
Table 5. Confusion matrix of XAI-HAR for activities in the CASAS dataset (27).
4.2. Explainable RF with local interpretable model agnostic for healthy individuals
We use local interpretable model agnostic (LIME) and apply it to RF to analyze the main components and explain essential features. LIME provides the model interpretability by producing meaningful and vital information. We also use ELI5 to inspect machine learning classifiers and explain their predictions. ELI5 extracts the top 10 features with their corresponding weights.
4.2.1. Interpretation of healthy individuals and individuals with dementia
The RF model achieves an accuracy score of 96.25%. The result of the LIME model gives a list of essential features and explains each feature's contribution to the dataset's prediction. Figure 6 shows the output of the LIME model and explains the top 10 features. The leftmost sections present the prediction probabilities with 0.96% healthy and 0.04% dementia probability values. The second section represents the 10 most important features. We use binary classification and that is why it is in two colors, blue and orange. Attributes in orange color support the healthy class, and the blue color supports the dementia class. Floating-point numbers on the horizontal bar show the importance of the features. M047, M030, and T101 are the Top three features belonging to the healthy class. The rightmost section contains the actual values of the top 10 variables.
Figure 7 demonstrates that M047, M030, T101, MO32, and M031 are the top most important features of the model belonging to the healthy class. While M005 and LL007 are the top most important features of the model belonging to the dementia class, Figure 8 provides the weights against to top 10 features participating most in the prediction process.
4.2.2. Interpretation of healthy individuals
The RF achieves an accuracy score of 97.40%. The result of the LIME model gives a list of essential features and explains each feature's contribution to the dataset's prediction. Figure 9 shows the output of the LIME model and explains the top 10 features. The leftmost sections present the prediction probabilities with 0.94% for medicine and 0.05% for phone probability values. For medicine, it is noticed that M013, M017, M017, MO08, M002, I010, M018, D007, I006, and M016 are the top most important features of the model belonging to the healthy class.
The second section represents the 10 most important features. Attributes in orange color support the medicine class and the purple color supports the phone class. Floating-point numbers on the horizontal bar show the importance of the features. M013, M017, and M008 are the top three features belonging to the medicine class. The rightmost section contains the actual values of the top 10 variables.
Figure 10 shows that M013, M017, M008, M051, I006, I010, M023, M015, and D007 are the top three most essential features of the model belonging to the medicine class. Figure 11 provides the weights against to top 10 features participating most in the prediction process.
4.2.3. Interpretation of individuals with dementia
The RF model achieves an accuracy score of 93.93%. The result of the LIME model gives a list of essential features and explains each feature's contribution to the dataset's prediction. Figure 12 shows the output of the LIME model and explains the top 10 features. The leftmost sections present the prediction probabilities with 0.76% for the medicine class, 0.15% for the phone class, 0.04 for kitchen, 0.02 for DVD, and 0.03 for other probability values. The second section represents the 10 most important features–attributes in orange color support the medicine class and others support not medicine class. Floating-point numbers on the horizontal bar show the importance of the features. M013, M017, and M018 are the Top three features belonging to the healthy class. The rightmost section contains the actual values of the top 10 variables.
Figure 13 shows that M013, M017, and M018 are the top three most essential features of the model belonging to the healthy class. Figure 14 provides the weights against to top 10 features participating most in the prediction process.
4.3. Discussion
Currently, clinicians are interested in insight into an individual's functional ability to detect diseases early. This study presented an XAI-empowered human activity recognition approach for individuals with dementia and healthy individuals to monitor their health. RF achieves the best results by using the XAI-HAR feature matrix. The other learning models, such as KNN, SVM, HT, MLP, NB, DNN, CNN, and CNN-LSTM, achieve better f-score using XAI-HAR-based feature matrix than PCA, IG, and mRMR-based feature matrix. However, DT showed relative degradation in dementia individuals' activities compared with others. The rationale behind this degradation is due to the fact that the data collected for dementia individuals have non-normal distribution. In addition, the number of dementia individuals performing activities is also fewer than that of healthy individuals. The KNN looks for the nearest neighbors in the dementia individual's activities for assigning labels. The SVM looks for the boundaries of the target variable in the dataset's search space for assigning labels.
In contrast, DT looks for promising interactions between features representing activities of an individual with dementia. We also provide the explainability of the prediction made by the RF model. We use local interpretable model agnostic (LIME) and apply it to RF to analyze the main components and explain the most important features. LIME provides the model interpretability by producing meaningful and vital information. We use ELI5 to inspect machine learning classifiers and explain their predictions. ELI5 extracts the top 10 essential features with their corresponding weights. As shown in Table 3, it is noticed that the RF achieves a 2% higher f-score than the deep learning models such as DNN, CNN, and CNN-LSTM while using XAI-HAR-based feature matrix. In addition, the deep learning models take more time in model building than RF, as shown in Table 4. The deep learning models not only achieve better f-score on PCA, IG, and mRMR-based feature matrices than RF but also take a long time in model training. So, the RF model works more robustly and efficiently on the XAI-HAR feature matrix than all other learning models. Below, we answer the research questions articulated in this study.
Answer to RQ1: The XAI-HAR consists of two steps: physical key features selection (PKFS) and statistical key features selection (SKFS) to form a feature matrix corresponding to different well-established contemporary methods used for recognizing activities. Further, we use local interpretable model agnostic (LIME) to interpret the decision-making process by classifiers. Answer to RQ2: XAI-HAR presents the concept of selecting local key features within the dataset while maintaining the original meaning of the features.Answer to RQ3: The weighting criteria are set as explained in equations 1, 2, 3, 4, 5, 6, 7, and 8.Answer to RQ4: The results reveal that the proposed approach will help neuropsychologists and clinicians to gain insight into an individual's functional ability to detect diseases and recognize their daily activities. Furthermore, the proposed approach help to understand the reason behind decision-making since detecting cognitive impairment is critical. Finally, it helps to provide interpretability to individuals with dementia.
5. Conclusion and future work
This study presented an XAI-empowered human activity recognition approach to enhance the recognition accuracy of cognitively impaired individuals' activities in a smart home. This approach helps to monitor the activities of cognitively impaired individuals and individuals having chronic impairments. The proposed approach improved the recognition accuracy of the intra-class variations. Moreover, XAI-HAR is compared with other commonly used feature selection techniques (PCA, mRMR, and IG) from the literature and other machine learning techniques. The results showed that the XAI-HAR achieved an f-score of 96% using RF, which is higher than other feature selection approaches. In addition, these results demonstrated the further help provided by the proposed XAI-HAR to achieve healthier patients over available patients. In future, we aim to experiment with the proposed approach on the dataset having complex activities. We also intend to develop a dataset with multiple participants of different ages and pets. It will be challenging to detect activities and cognitive conditions in the presence of pets. Furthermore, we intend to extend this study by providing essential features and early detection for other domains, particularly for Parkinson's and Alzheimer's diseases.
Data availability statement
The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding authors.
Author contributions
All authors listed have made a substantial, direct, and intellectual contribution to the work and approved it for publication.
Funding
This research was supported by Qatar National Library and Qatar University's Internal Grant IRCC-2021-010.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher's note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpubh.2023.1024195/full#supplementary-material
Footnotes
References
1. Paterson TS, Sivajohan B, Gardner S, Binns MA, Stokes KA, Freedman M, et al. Accuracy of a self-administered online cognitive assessment in detecting amnestic mild cognitive impairment. J Gerontol B. (2022) 77:341–50. doi: 10.1093/geronb/gbab097
2. Javed AR, Shahzad F, ur Rehman S, Zikria YB, Razzak I, Jalil Z, et al. Future smart cities requirements, emerging technologies, applications, challenges, and future aspects. Cities. (2022) 129:103794. doi: 10.1016/j.cities.2022.103794
3. Loh HW, Ooi CP, Seoni S, Barua PD, Molinari F, Acharya UR. Application of explainable artificial intelligence for healthcare: a systematic review of the last decade (2011-2022). Comput Methods Programs Biomed. (2022) 2022:107161. doi: 10.1016/j.cmpb.2022.107161
4. Javed AR, Sarwar MU, Khan S, Iwendi C, Mittal M, Kumar N. Analyzing the effectiveness and contribution of each axis of tri-axial accelerometer sensor for accurate activity recognition. Sensors. (2020) 20:2216. doi: 10.3390/s20082216
5. Sarwar MU, Gillani LF, Almadhor A, Shakya M, Tariq U. Improving recognition of overlapping activities with less interclass variations in smart homes through clustering-based classification. Comput Intell Neurosci. (2022) 2022:833856. doi: 10.1155/2022/8303856
6. Damaj I, Kasbah S. Integrated mobile solutions in an Internet-of-Things development model. In: Mobile Solutions and Their Usefulness in Everyday Life. Springer (2019). p. 3–31.
7. Saade R, Salhab K, Nakad Z. A voice-controlled mobile IoT guider system for visually impaired students. In: 2018 IEEE International Multidisciplinary Conference on Engineering Technology (IMCET). Beirut: IEEE (2018). p. 1–6.
8. Hagras H. Toward human-understandable, explainable AI. Computer. (2018) 51:28–36. doi: 10.1109/MC.2018.3620965
9. Javed AR, Faheem R, Asim M, Baker T, Beg MO. A smartphone sensors-based personalized human activity recognition system for sustainable smart cities. Sustain Cities Soc. (2021) 71:102970. doi: 10.1016/j.scs.2021.102970
10. Rehman SU, Javed AR, Khan MU, Nazar Awan M, Farukh A, Hussien A. Personalisedcomfort: a personalised thermal comfort model to predict thermal sensation votes for smart building residents. Enterprise Inf Syst. (2020) 202:1–23. doi: 10.1080/17517575.2020.1852316
11. Javed AR, Fahad LG, Farhan AA, Abbas S, Srivastava G, Parizi RM, et al. Automated cognitive health assessment in smart homes using machine learning. Sustain Cities Soc. (2021) 65:102572. doi: 10.1016/j.scs.2020.102572
12. Melissa R, Lama M, Laurence K, Sylvie B, Jeanne D, Odile V, et al. Physical activity in eating disorders: a systematic review. Nutrients. (2020) 12:183. doi: 10.3390/nu12010183
13. Haraty RA, Boukhari B, Kaddoura S. An effective hash-based assessment and recovery algorithm for healthcare systems. Arabian J Sci Eng. (2022) 47:1523–36. doi: 10.1007/s13369-021-06009-4
14. Cassarino M, Setti A. Complexity as key to designing cognitive-friendly environments for older people. Front Psychol. (2016) 7:1329. doi: 10.3389/fpsyg.2016.01329
15. Chalah MA, Ayache SS. Disentangling the neural basis of cognitive behavioral therapy in psychiatric disorders: a focus on depression. Brain Sci. (2018) 8:150. doi: 10.3390/brainsci8080150
16. Thomas J, Alkatheeri O, Grey IM. Cognitive vulnerability and depressive symptoms among emirati college students before and after the enactment of COVID-19 curfew and home-learning measures. Int J Psychol Psychol Therapy. (2021) 21:75–9.
17. Fakhoury M, Fritz M, Sleiman SF. Behavioral paradigms for assessing cognitive functions in the chronic social defeat stress model of depression. In: Translational Research Methods for Major Depressive Disorder. Springer (2022). p. 147–64.
18. Chalah MA, Ayache SS. Noninvasive brain stimulation and psychotherapy in anxiety and depressive disorders: a viewpoint. Brain Sci. (2019) 9:82. doi: 10.3390/brainsci9040082
19. Aoun R, Rawal H, Attarian H, Sahni A. Impact of traumatic brain injury on sleep: an overview. Nat Sci Sleep. (2019) 11:131. doi: 10.2147/NSS.S182158
20. Yunusa I, El Helou ML, Alsahali S. Pimavanserin: a novel antipsychotic with potentials to address an unmet need of older adults with dementia-related psychosis. Front Pharmacol. (2020) 11:87. doi: 10.3389/fphar.2020.00087
21. Yadav R, Zhang W, Elgendy IA, Dong G, Shafiq M, Laghari AA, et al. Smart healthcare: RL-based task offloading scheme for edge-enable sensor networks. IEEE Sensors J. (2021) 21:24910–8. doi: 10.1109/JSEN.2021.3096245
22. Saeed U, Kumar K, Laghari AA, Khuhro MA, Islam N, Shaikh GM, et al. A comparative analysis of classification techniques for human activity recognition using wearable sensors and smart-phones. EAI Endorsed Trans Pervasive Health Technol. (2022) 8:e1–e1. doi: 10.4108/eai.2-11-2021.171752
23. Stavrotheodoros S, Kaklanis N, Votis K, Tzovaras D. A smart-home IoT infrastructure for the support of independent living of older adults. In: IFIP International Conference on Artificial Intelligence Applications and Innovations. Springer (2018). p. 238–49.
24. Stephan JS, Sleiman SF. Exercise factors as potential mediators of cognitive rehabilitation following traumatic brain injury. Curr Opin Neurol. (2019) 32:808–14. doi: 10.1097/WCO.0000000000000754
25. Javed AR, Sarwar MU, Beg MO, Asim M, Baker T, Tawfik H. A collaborative healthcare framework for shared healthcare plan with ambient intelligence. Human Centric Comput Inf Sci. (2020) 10:1–21. doi: 10.1186/s13673-020-00245-7
26. Chalah MA, Ayache SS. Cognitive behavioral therapies and multiple sclerosis fatigue: a review of literature. J Clin Neurosci. (2018) 52:1–4. doi: 10.1016/j.jocn.2018.03.024
27. Dawadi P, Cook D, Parsey C, Schmitter-Edgecombe M, Schneider M. An approach to cognitive assessment in smart home. In: Proceedings of the 2011 Workshop on Data Mining for Medicine and Healthcare. (2011). p. 56–9.
28. Dawadi PN, Cook DJ, Schmitter-Edgecombe M. Automated cognitive health assessment using smart home monitoring of complex tasks. IEEE Trans Syst Man Cybern Syst. (2013) 43:1302–13. doi: 10.1109/TSMC.2013.2252338
29. Dawadi PN, Cook DJ, Schmitter-Edgecombe M, Parsey C. Automated assessment of cognitive health using smart home technologies. Technol Health Care. (2013) 21:323–43. doi: 10.3233/THC-130734
30. Dawadi PN, Cook DJ, Schmitter-Edgecombe M. Automated cognitive health assessment from smart home-based behavior data. IEEE J Biomed Health Inform. (2015) 20:1188–94. doi: 10.1109/JBHI.2015.2445754
31. Mshali H, Lemlouma T, Magoni D. Adaptive monitoring system for e-health smart homes. Pervasive Mobile Comput. (2018) 43:1–19. doi: 10.1016/j.pmcj.2017.11.001
32. Wilson C, Hargreaves T, Hauxwell-Baldwin R. Benefits and risks of smart home technologies. Energy Policy. (2017) 103:72–83. doi: 10.1016/j.enpol.2016.12.047
33. Marikyan D, Papagiannidis S, Alamanos E. A systematic review of the smart home literature: a user perspective. Technol Forecast Soc Change. (2019) 138:139–54. doi: 10.1016/j.techfore.2018.08.015
34. Mendes TD, Godina R, Rodrigues EM, Matias JC, Catal ao JP. Smart home communication technologies and applications: a ireless protocol assessment for home area network resources. Energies. (2015) 8:7279–311. doi: 10.3390/en8077279
35. Cook DJ. Learning setting-generalized activity models for smart spaces. IEEE Intell Syst. (2010) 2010:1. doi: 10.1109/MIS.2010.112
36. Lilis G, Conus G, Asadi N, Kayal M. Towards the next generation of intelligent building: an assessment study of current automation and future IoT based systems with a proposal for transitional design. Sustain Cities Soc. (2017) 28:473–81. doi: 10.1016/j.scs.2016.08.019
37. Usman Sarwar M, Rehman Javed A, Kulsoom F, Khan S, Tariq U, Kashif Bashir A. PARCIV: recognizing physical activities having complex interclass variations using semantic data of smartphone. Software Pract Exper. (2020) 51:532–49. doi: 10.1002/spe.2846
38. Sarwar MU, Javed AR. Collaborative health care plan through crowdsource data using ambient application. In: 2019 22nd International Multitopic Conference (INMIC). IEEE (2019). p. 1–6.
39. Javed AR, Sarwar MU, ur Rehman S, Khan HU, Al-Otaibi YD, Alnumay WS. Pp-spa: privacy preserved smartphone-based personal assistant to improve routine life functioning of cognitive impaired individuals. Neural Process Lett. (2021) 2021:1–18. doi: 10.1007/s11063-020-10414-5
40. Fong S, Song W, Cho K, Wong R, Wong KK. Training classifiers with shadow features for sensor-based human activity recognition. Sensors. (2017) 17:476. doi: 10.3390/s17030476
41. Eastwood M, Konios A, Tan B, Jing Y, Hamid A. Conditional random field feature generation of smart home sensor data using random forests. In: 2019 IEEE MTT-S International Microwave Biomedical Conference (IMBioC). Vol. 1. Nanjing: IEEE (2019). p. 1–4.
42. Lu L, Qing-Ling C, Yi-Ju Z. Activity recognition in smart homes. Multimedia Tools Appl. (2017) 76:24203–20. doi: 10.1007/s11042-016-4197-1
43. Fine S, Singer Y, Tishby N. The hierarchical hidden markov model: analysis and applications. Mach Learn. (1998) 32:41–62. doi: 10.1023/A:1007469218079
44. Avci U, Passerini A. Improving activity recognition by segmental pattern mining. IEEE Trans Knowl Data Eng. (2013) 26:889–902. doi: 10.1109/TKDE.2013.127
45. Chen M, Yang J, Zhou J, Hao Y, Zhang J, Youn CH. 5G-smart diabetes: toward personalized diabetes diagnosis with healthcare big data clouds. IEEE Commun Mag. (2018) 56:16–23. doi: 10.1109/MCOM.2018.1700788
46. Mehr HD, Polat H, Cetin A. Resident activity recognition in smart homes by using artificial neural networks. In: 2016 4th International Istanbul Smart Grid Congress and fair (ICSG). Istanbul: IEEE (2016). p. 1–5.
47. Chinellato E, Hogg DC, Cohn AG. Feature space analysis for human activity recognition in smart environments. In: 2016 12th International Conference on Intelligent Environments (IE). Fuzhou: IEEE (2016). p. 194–7.
48. Zhang M, Sawchuk AA. A feature selection-based framework for human activity recognition using wearable multimodal sensors. In: BodyNets. (2011). p. 92–8.
49. Liu Y, Mu Y, Chen K, Li Y, Guo J. Daily activity feature selection in smart homes based on pearson correlation coefficient. Neural Process Lett. (2020) 2020:1–17. doi: 10.1007/s11063-019-10185-8
50. Debes C, Merentitis A, Sukhanov S, Niessen M, Frangiadakis N, Bauer A. Monitoring activities of daily living in smart homes: understanding human behavior. IEEE Signal Process Mag. (2016) 33:81–94. doi: 10.1109/MSP.2015.2503881
51. Toch E, Bettini C, Shmueli E, Radaelli L, Lanzi A, Riboni D, et al. The privacy implications of cyber security systems: a technological survey. ACM Comput Surveys. (2018) 51:1–27. doi: 10.1145/3172869
52. Mubashar A, Asghar K, Javed AR, Rizwan M, Srivastava G, Gadekallu TR, et al. Storage and proximity management for centralized personal health records using an IPFS-based optimization algorithm. J Circ Syst Comput. (2021) 2021:2250010. doi: 10.1142/S0218126622500104
53. Shabbir M, Shabbir A, Iwendi C, Javed AR, Rizwan M, Herencsar N, et al. Enhancing security of health information using modular encryption standard in mobile cloud computing. IEEE Access. (2021) 9:8820–34. doi: 10.1109/ACCESS.2021.3049564
54. Mohiyuddin A, Javed AR, Chakraborty C, Rizwan M, Shabbir M, Nebhen J. Secure cloud storage for medical IoT data using adaptive neuro-fuzzy inference system. Int J Fuzzy Syst. (2021) 24:1203–15. doi: 10.1007/s40815-021-01104-y
55. Rabbi M, Ali S, Choudhury T, Berke E. Passive and in-situ assessment of mental and physical well-being using mobile sensors. In: Proceedings of the 13th international conference on Ubiquitous computing. (2011). p. 385–94.
56. Burman P. A comparative study of ordinary cross-validation, v-fold cross-validation and the repeated learning-testing methods. Biometrika. (1989) 76:503–14. doi: 10.1093/biomet/76.3.503
Keywords: explainable AI, advanced sensors, assistive technology, key feature extraction, human activity recognition, Internet of Things, healthcare
Citation: Javed AR, Khan HU, Alomari MKB, Sarwar MU, Asim M, Almadhor AS and Khan MZ (2023) Toward explainable AI-empowered cognitive health assessment. Front. Public Health 11:1024195. doi: 10.3389/fpubh.2023.1024195
Received: 21 August 2022; Accepted: 17 February 2023;
Published: 09 March 2023.
Edited by:
Karl Schweizer, Goethe University Frankfurt, GermanyReviewed by:
Irina Mocanu, Polytechnic University of Bucharest, RomaniaSabina Baraković, University of Sarajevo, Bosnia and Herzegovina
Copyright © 2023 Javed, Khan, Alomari, Sarwar, Asim, Almadhor and Khan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Abdul Rehman Javed, abdulrehman.cs@au.edu.pk; Mohammad Kamel Bader Alomari, m.alomari@qu.edu.qa