1. Introduction
With the advancements in modern healthcare facilities, it has been observed that humans’ life expectancy is on the rise [
1]. As a result, there will be increased population of elderly people in the near future. Elderly people are more prone to critical diseases (such as cardiovascular disease, arthritis, osteoporosis, hypertension, and Alzheimer’s disease to name a few) which results in limited physical activity [
2].
There is a need for constant monitoring of elderly people to provide required daily healthcare and, more importantly, to counter critical emergency healthcare situations. Constant monitoring is an expensive solution in terms of money and time because a dedicated caregiver is required.
Today’s modern society is technology driven. More advanced and smarter technologies are emerging to provide optimum solutions to complex problems. There is a requirement for smart, ambient framework which provides constant monitoring of elderly people for independent living (no caregiver), accurate analysis of behavioral patterns for wellness determination, prompt emergency alarms to remote caregivers, and predictions of future healthcare requirements, as depicted in
Figure 1.
An ideal and comprehensive wellness determination framework must have some vital features which ensure the compatibility of the wellness determination mechanism with elderly behavior, such as being easy to use, employing efficient monitoring technology, and having high accuracy in terms of quality. Comprehensive smart ambiance features of wellness determination are portrayed in
Figure 2. Elderly people will be more comfortable when their privacy is ensured. Seamless and less complicated monitoring mechanisms will help them to perform their physical activities in a more natural and comfortable manner, thus increasing the acceptance of the smart solutions. These smart solutions should be ideally provided in the living areas of these individuals to ensure the cost-effective and smart solutions are within the reach of every needy individual. Most importantly, these smart-ambiance, wellness-determination solutions should be highly accurate to save precious lives and avoid emergency situations.
Due to these challenges, wellness determination is an active research domain. Several researchers have proposed different wellness determination techniques based on different monitoring technologies. Many researchers proposed wellness determination frameworks on the behavioral monitoring of elderly people, which are based on wearable sensors [
3,
4]. Wearable sensors-based proposed solutions either monitor vital parameters of the human body or behavioral patterns. Deviation in these features results in determining the wellness of elderly people [
5]. Many elderly people are not comfortable wearing sensors constantly; they might forget that they are wearing sensors or forget to charge them, as they are battery operated. As a result, generally elderly people show less acceptability towards wearable sensor-based solutions [
6]. Image processing is another research domain which lacks acceptability, as constant visual monitoring lacks privacy [
7].
A substantial amount of research work has been done on behavioral monitoring for wellness determination of elderly people [
8,
9,
10]. Numerous wellness classification-based techniques (models and frameworks) have been proposed. These proposed classification models and frameworks are based on artificial intelligence (AI), data mining, and statistical and machine learning-based techniques [
5,
8,
11,
12]. Bayesian classifiers have been proposed for wellness determination on behavioral monitoring [
8,
13]. Similarly, several models have been proposed which are based on the hidden Markov model (HMM) [
5,
14]. Most of these proposed solutions do not focus on the behavioral monitoring and wellness aspects of individuals, such as the correlation of an activity with its sub-activities, location of an activity, and the time and duration of the activity [
15]. Less attention has been given to association mining for wellness determination by researchers, however, association mining is either employed for preprocessing [
8,
10,
11] to analyze frequent behavioral patterns, or for wellness determination classification [
12]. Association mining generates global search classification rules on given training data, which are useful in the class prediction [
16,
17]. However, association mining results in a huge amount of classification rules and, while in pruning phase, many useful rules are pruned. Similarly, fixed support and confidence values for classification rule generation ignores activities with fewer occurrences.
Most of the existing proposed solutions do not consider the temporal and spatial correlation of an activity for better behavioral analysis. Considering these activity parameters will help to translate elderly behavior from the real world to a digital environment for analysis. Association mining provides correlation analysis, but at the cost of a large number of association rules, which results in longer training times of classifiers. Similarly, important correlation rules are ignored in correlation analysis due to low support. In this paper, context-aware accurate wellness determination (CAAWD) is proposed, which aims to provide highly precise and accurate healthcare wellness monitoring, along with the assurance of individual privacy and acceptability (adequacy) consideration to elderly people, which is a weakness in wearable sensors-based and image processing-based wellness solutions. To achieve high classification accuracy and precision, the lazy associative classifier (LAC) technique is employed. The contributions of CAAWD are as follows:
Spatial–temporal and related contextual parameters correlation of activities of daily living (ADLs) for better behavioral-pattern analysis;
Introduction of CDEA ensures inclusion of behavioral contextual information for logical training of the classifier for accurate wellness determination;
Fewer high-quality associative classification rules for efficient classification;
Rule generation at minimum-support values to ensure that, even with fewer occurrences, training data is not ignored for useful rules;
Ability to contextually validate the classified instances by introducing caregiver contextual information for elderly people.
The remainder of this paper is arranged as follows:
Section 2 discusses literature review on wellness determination in WSN based smart homes and ADL concept and associative classifiers;
Section 3 discusses CAAWD;
Section 4 presents the experimental setup and results discussion;
Section 5 presents the conclusion.
3. Context-Aware Accurate Wellness Determination Model
The CAAWD aims to provide accurate wellness determination of the elderly living in smart environments. The core feature of the CAAWD is quality, i.e., to have more accurate wellness determination classification of the elderly people. Wellness determination accuracy of the proposed model is improved by converting raw behavior monitoring sensor data into a more meaningful way to ensure the proper training of the model. Ambient information, such as spatial–temporal behavior attributes, is introduced in the CAAWD to define the behavior of an individual in better manner. CAAWD training was done in a comprehensive manner by including low-occurrence behavior routine instances, as these instances are the part of behavior routine. Additionally, classified instances are further validated by the contextual information provided by the caregiver.
3.1. Formal Definition of the Concepts in CAAWD Model
The CAAWD is based on the LAC. Formal definitions of the concepts are presented for better understanding of the overall working of CAAWD. CAAWD utilizes the concept of temporal correlation of activities of daily living (ADLs) as proposed in [
15]. The definitions of the concepts and correlation rules are as follow:
Definition 1. The data of interest D is defined by k attributes A1, A2, …, Ak, temporal value T and class attribute C, where temporal value T is a set of discretized time value of activities.
Definition 2. The training tuple TRD belongs to D, TRD ϵ D, whose class attribute value is known.
Definition 3. The testing tuple TSD belongs to D, TSD ϵ D, whose class attribute value is unknown.
Definition 4. Association rule is defined as X → Y, where X is antecedent and Y is consequent.
Definition 5. Class association rule (CAR) is defined as A → C, where A is a single feature attribute i.e., A ϵ D (A1, A2, …, Ak) and T, Where C is a class label.
Definition 6. The relative support (ϴ) of the CAR (A → C) is calculated as (X C) in D.
Definition 7. A CAR is a frequent pattern ifwhere is the minimum support. Definition 8. Entropy H(A) of pattern defined by k values is defined aswhere P is representing the probability of an event. Definition 9. Information gain (IG) of a CAR. CAR is represented by A which is a random single feature (attribute) from D i.e., A ϵ D (A1, A2, …, Ak)where (C) is representing class feature (attribute), H(C) is the entropy and H(C/A) is conditional entropy. Definition 10. Used rule set (UD) is a set of all frequent CARs, which are used at least once for the classification.
Definition 11. Sparse rule set (SD) is a set of all frequent CARs, which are not used for the classification of any training data instance, but become useful to classify test instance data, which used rules have not.
Definition 12. Wrong rule set (WD) is a set of all frequent CARs, which have incorrectly classified the training instances.
Definition 13. Projected training set (PTS) consists of (UD), (SD), and (WD); frequent CARs are ranked on the basis of ascending IG values in these subsets.
Definition 14. ABi is an Abnormal classified instance by the data classification module. ABi classification is based on the training of the behavior routine of an individual. Where ACT represents an activity and Sub_ACT represents sub activity. Definition 15. Cj is a context defined by the caregiver for a particular elderly person. Cj ϵ ACTj, ACTj is a predefined activity performed by an elderly person. Frequency_ACTj_Range defines the range of how frequently an activity is being performed, Duration_ACTj_Range defines the range of duration (in seconds) of an activity, and Start_time_ACTj_Range is the range of the start time of an activity.
The conceptual design of the CAAWD is depicted in
Figure 4. It consists of following modules:
Contextual data extraction (CDE) module;
Classification (LAC) module;
Behavioral analysis (BA) module;
Caregiver alarm module.
A common smart home environment setup consists [
12] of binary sensors installed in household objects and daily-used appliances. These sensors are installed to analyze the behavioral patterns of elderly people. These sensors send ON/OFF states along with main sensor identities (SA
ID) and temporal values with the help of wireless sensor network (WSN) to the central server for further analysis. These sensor states help to analyze the ADLs of the elderly person living independently in the smart environment.
As discussed earlier in
Section 2.1, a behavior pattern of an individual has contextual parameters, such as sub-activities and temporal and location correlation (ambient contextual information) with the behavior pattern. These behavioral contextual parameters have vital significance for the inference of frequent behavioral patterns of an individual. Considering the significance, ambient contextual information is introduced for better learning of the behavior routines of an elderly person. Spatial–temporal contextual information correlation with other contextual parameters (e.g., duration, object used, sub-activities) of the performed activity is of greater importance while learning and classifying an elderly behavior for wellness determination. This is a major contribution of CAAWD, which improves the wellness determination accuracy to a greater extent.
3.2. Contextual Data Extraction (CDE) Module
Sensor data is transmitted to the server in raw form i.e., 0 s and 1 s, to represent ON and OFF states of the appliances and household objects along the S
ID. CDE converts these binary values into labeled behavior instances so that correlation mining can be applied at the server. For example, an activity of cooking meal by an elderly woman is taking place in the kitchen, as shown in
Figure 5. From her cooking activity, the following information will be extracted by using CDE for context awareness:
Start time of the activity;
Object used for the activity;
Location of the activity;
Sub-activity;
Duration of an activity;
Activity;
Class (normal/Abnormal).
This main activity will be accomplished by the set of multiple sub-activities, such as utensil selection, cutting or chopping of food, turning on stove, etc. The sequence of these sub-activities in an ADL is important to understand the behavioral pattern of an individual. The start and end times of each sub-activity are represented by a sensor or multiple sensors activation (ON) and deactivation (OFF). The time spent in each state (in case of overlapped activities), is recorded in 24 h time format.
The location of an ADL is identified from the SA
ID. Analysis server has mapping of all the sensors according to the installation location; a specific SA
ID represents a specific location and ADL. Sub-activities are also identified with the help of sub-activity sensor ID (SS
ID) at the server. Sub-activities will only be recognized at the server if SA
ID is active (ON), thus behavior patterns (ADLs) of an elderly person can be uniquely analyzed with respect to sub-activities at the server. The duration attribute is only considered for the main activity (ADL) not for the sub-activity. For CAAWD, basic ADLs are considered, which are discussed in
Section 4.
Contextual data was extracted and presented in
Table 1 as dataset instances for the discussed example of
Figure 5.
A contextual data extraction algorithm (CDEA) is proposed for generating contextually comprehensive training instances for better training of classifiers and hence more accurate wellness classification.
Algorithm 1 Contextual data extraction algorithm (CDEA) |
Input: Sensor identities (SAID, SSID, ACTST, ACTET), where SAID is the main activity, SSID is the sub-activity identities, ACTST and ACTET are the activation and deactivation time of SAID (representing a main activity) respectively. |
Output: Comprehensive training tuple (Time ^ Location ^ ACT ^ S_ACT ^ Dur_ACT → Class) |
1: IF (SAID== ON state) |
2: IF (SAID == i) |
3: Location = Loci ^ Activity = ACTi ^ Object = Obji |
4: IF (SSID == j) |
5: Sub_Act = S_ACTj |
6: IF (SAID == OFF state) |
7: Dur_ACTi = |ACTET − ACTST| |
8: ELSE Dur_ACTi = undetermined |
9: Time = ACTST |
10: RETURN Training tuple (TRD) |
CDEA has prior knowledge of all the sensors identities and their locations (spatial contextual information) of installation. When a sensor senses an activity, it transmits the ON state to the sink along its SAID. The CDEA at the sink identifies the main activity based on SAID (as sensors are installed in specific household objects or appliances, which are representing specific activities) and the activity location. Behavior routine patterns of an elderly person are signified with the help of contextual information (location and object of usage) of an activity for better training of the classifier. As discussed earlier, it is important to correlate sub-activities with main activities for better training of the classifier. For this purpose, sensors representing main activities (SAID) are differentiated from sensors representing sub-activities (SSID). The duration of a main activity is calculated from the activation time (ACTST) until the deactivation time (ACTET) of the SAID. The duration of an activity will remain “undetermined” until deactivation of the SAID is observed. Finally, temporal contextual information (activity start time) is introduced in the training instance. CDEA will return a comprehensive training instance (TRD) that defines an activity wellness pattern in a logical manner. CDEA generates comprehensive training instances, as these instances are representing the contextual behavior patterns with respect to spatial information (location), temporal information (time), duration of an activity, object used for an activity, and correlation of main activity with sub-activity.
CDEA is proposed, keeping in mind the working mechanism of associative classifiers. The classifier will generate frequent patterns in a more understandable manner, which will not only be used for wellness determination but can also be utilized in behavioral analysis by an expert or caregiver. Similarly, the introduction of behavioral contextual information by CDEA is ideal while considering LAC projection-based classification, where vital contextual information is introduced as wellness parameters/attributes. When a test instance arrives for classification with any abnormal attributes (e.g., abnormal activity time, longer or shorter duration of an activity, out of sequence activities or any other), classification rules will be projected according to behavior attributes and the classifier will determine the wellness based on these contextually defined rules.
3.3. Classification Module
This section explains the wellness determination classification process. For CAAWD, LAC is preferred as it gives better accuracy and precision than its other counterparts as reported in [
23,
31], but it has never been proposed and evaluated for wellness determination of elderly people living in smart environments. To the best of our knowledge, it was proposed and evaluated for the first time for the wellness determination of elderly people in WSN smart homes. This section also discusses the relation of information gain and low-support value for better CAR generation for the training of LAC and class prediction.
Association mining was performed on the preprocessed and prepared comprehensive training dataset D based on defined threshold
ϴ′. As a result of association mining, a CARs dataset was generated and stored as shown in
Figure 4 (step 4). CARs were the set of frequent behavior patterns of an elderly person, for example, an elderly person’s frequent sleeping pattern concerns them going to sleep at around 22:30 h. This pattern would be considered as a CAR when a test instance arrives to determine whether it is a normal or abnormal test pattern. The CAR dataset is partitioned in to U
D, W
D, and S
D, as discussed in
Section 2.3.1.
Table 2 represents sample CARs to understand the significance of CDEA.
As the T
SD test instance arrives at the classifier, the classifier requests (based on the attributes of T
SD) P
TS to the database D where CARs are stored, as shown in
Figure 4 (step 6 and 7). On reply of P
TS, P
TS contains U
D, i.e., used CARs dataset, S
D, i.e., sparse CARs dataset, and W
D, i.e., wrong CARs dataset. W
D is pruned based on the lazy pruning techniques. An important point to consider is that projected CARs will have those rules which have test instance attributes, thus a more concise set of rules. CARs in U
D and S
D are ranked on the basis of information gain (IG). The test instance will be classified on the basis of the highest IG of a CAR from the U
D, or if required from the S
D. LAC pseudocode is presented as:
Algorithm 2 LAC |
Input: Set of Rule Set of CARs (D) and set of test instance (TSD) |
Output: Classified instance |
1: D (set of RuleSet of CARs) |
2: TSD (set of Test instance) |
3: ti ϵ TSD |
4: Let PTS be the projection of D based on the features of ti |
5: (UD||SD) ϵ PTS//, where UD is the set of used rules and SD is the set of sparse rules |
6: Sort CARs based on the information gain of PTS |
7: Classify the ti based on the highest information gain from PTS |
To achieve better accuracy and precision of the classifier, CARs ranking is based on IG. Mathematical proof is presented to understand the relationship of IG with ϴ or a mined CAR from [
36].
Let a pattern, i.e., CAR, be defined by a single feature A. The IG of this CAR defined by A is defined in Equation (3) in
Section 4.1.
We need to limit the IG and H(C/A) functions by defining the upper and lower bounds. Let IG (C/A)
UP be the upper boundary of information gain of the pattern and H(C/A)
LOW be the lower boundary of conditional entropy.
The support of pattern CAR (by a random feature A) is defined by ϴ. H(C/A)
LOW is the conditional probability, which can be defined with the help of Definition 10. For simplification, certain assumptions are considered. These assumptions are: A ϵ {0,1} and C is the class attribute which is binary, so C ϵ {0,1}. Let P(c = 1/a = 1) = q, P(c = 1) = p, and P(a = 1) =
. Where p and q are variables, then
Taking the partial derivative H(C/A)
LOW with respect to
,
This mathematical analysis discusses the relationship of information gain (IG) with the support (. The larger the value of H(C/A)LOW, the smaller the value of and (IG). Thus, the low-frequency patterns are bound by small value of (IG) and . The minimum value of ensures the inclusion of low-frequency patterns for greater importance for the higher accuracy and precision of the classification.
CDEA’s comprehensive training instances (CARs) ensure the inclusion of vital contextual information for wellness determination by the classifier. Projection based classification of LAC along with CDEA helps CAAWD to achieve higher wellness accuracy. Wellness determination based on the contextual behavior information is highlighted in CAAWD for better accuracy.
3.4. Behavior Analysis (BA) Module
Test instances classified as “normal” are provided to the caregiver; abnormal-classified (AB
i) cases will be provided as input to the “behavior analysis” module, according to Definition 14. This module analyzes AB
i based on the contextual information C
j provided by the caregiver, according to Definition 15. Based on the analysis, abnormal-classified instances will finally be observed as normal or abnormal. The classifier can classify a given test instance as abnormal but contextually it can be normal, or vice versa. For example, a CAR based on the behavior routine and a test instance is shown in
Table 3 and
Table 4.
According to the classifier generated CAR, this test instance would be considered as an abnormal activity, according to the provided training data. The contextual information in the behavior analysis module would help to correct the test instance from abnormal to normal, as this contextual information is not part of the regular behavior routine, but recommended by the caregiver/expert. The caregiver defines the context according to Definition 15 for each activity. The proposed algorithm (context awareness (CA)) is presented below.
Algorithm 3 Context Awareness (CA) |
Input: Abnormal classified instance (ABi) and context (Cj) |
Output: Context aware classified instance (CACI) |
- 1:
ABi = {Start_timei, Objecti, Locationi, Sub_ACTi, ACTi, Durationi, Class: Abnormal}//Definition 14
|
- 2:
Cj = {Frequency_ACTj_Range, Duration_ACTj_Range, Start_time_ACTj_Range}// Definition 15
|
- 3:
IF (ACT == ACTi)
|
- 4:
Frequency_ACTi = Frequency_ACTi ++
|
- 5:
IF (DurationiϵDuration_ACTj_Range AND Start_timeiϵStart_time_ACTj_Range AND Frequency_ACTiϵFrequency_ACTj_Range)
|
- 6:
Class = Normal
|
- 7:
ELSE Class = Abnormal
|
The abnormally classified instance is analyzed by the proposed algorithm (CA). According to Definition 15, behavioral context is provided by the caregiver with respect to frequency, start time, and duration of an activity. CA will check the abnormally classified instance with respect to these three defined pieces of contextual information (i.e., frequency, duration and start time of main activity) using (AND) logic. If an abnormally classified instance violates any contextual information it will remain as abnormal, otherwise it will be made normal. This is another major contribution of the CAAWD, as all classification models use training data for classification, however, in such application areas (such as healthcare and wellness determination) requirements change with the passage of time and training data is not sufficient for accurate wellness determination.
3.5. Caregiver Alarm Module
A remote caregiver will be continuously monitoring the wellness of an elderly person and, in case of abnormal classified activity, an alarm will be generated and the caregiver will be notified of the description of the abnormal behavior, such as long sleep durations, the usual behavioral pattern, the stationary position of an individual, and any activities being performed in abnormal locations (for example, sleeping in the living room). Temporal attributes of an observed behavior pattern helps in the identification of abnormal behavior. If an elderly person is in the habit of taking a nap on the sofa (living room) in the afternoon (15:30 to 16:45), this behavior pattern will be observed in the frequent behavior patterns and will be treated as a CAR. Supposing the same elderly person is sleeping on the sofa (living room) at 23:40 to 4:30, this pattern will deviate temporally from the frequent pattern and result in the abnormality. Such information will be sent to the remote caregiver for a better understanding of the elderly person’s health situation; this information will be significant for the caregiver to suggest the type of medical assistance and services required before any critical emergency situation can occur. CAAWD analyzes the frequent behavior routine patterns of an elderly person and determines the wellness.
4. Experimentation
In this section of dataset descriptions, the evaluation of the CAAWD and comparison of the CAAWD with the exiting proposed models and techniques has been conducted.
4.1. Ordonez’s ADL Dataset
This dataset [
12] consists of ten individuals performing ADLs in a similar four room smart home environment for fourteen days. These smart environments are equipped with binary sensors for the behavioral monitoring of the individual. The description of ADLs and sensors for the two subjects is given in
Table 5.
4.2. Evaluation Metric
This subsection explains the selected parameters for the evaluation of the CAAWD. As discussed earlier, the efficacy of the CAAWD is based on how accurate the wellness of the elderly can be determined. Wellness determination has been evaluated for accuracy, precision, and f-measure metrics. The CAAWD handles the binary classification of normal or abnormal behavior of the elderly person. Training instances are balanced by using class balancing preprocessing techniques.
Accuracy explains the ratio of correctly predicted instances over the total number of the instances that are evaluated by the classifier. Mathematically, accuracy is explained in Equation (8).
The f-measure represents the weighted average of the precision and recall metrics. Mathematically, the f-measure is explained in Equation (9).
Precision and recall are mathematically defined in Equations (10) and (11), respectively.
4.3. Experimental Setup
This section describes the experimental setup adopted in the current article. In this research article, the dataset is utilized for the experimentation, as discussed earlier. The proposed algorithm CDEA, LAC, and CA have been implemented in JAVA programming language over the computer system, which serves as the analysis server (CAAWD). Microsoft Structured Query Language (SQL) database is used for storing the original unprocessed dataset and training dataset D, including CARs. Dataset instances are provided to the CDEA to produce contextually comprehensive training instances; these training instances are stored in the database (D). LAC utilizes these training instances for the generation of CARs, as discussed earlier. Similarly, contextual information provided by the caregiver is also stored in the database; 10-fold cross validation has been adopted for the experiment evaluation of the CAAWD. The results are discussed in a later section.
4.4. Results and Analysis
The CAAWD has been evaluated on accuracy, precision, recall, and f-measure metric against existing proposed techniques [
5,
37]. The existing proposed techniques [
5,
37] have utilized datasets [
12], however [
5] has been evaluated on accuracy, while [
37] has been evaluated on f-measure.
In
Figure 6, wellness determination accuracies of ten individuals/subjects (Ordonez’s dataset) have been determined by utilizing CAAWD and compared against the existing proposed technique [
5]. It has been observed that CAAWD is performing better in nine out of ten subjects (i.e., individuals) referred as Sub in
Figure 6, due to its associative approach in classification rules generation and global search for the classification. Introduction of ambient contextual information (time and location) and activity contextual information (duration, object, and sub-activity) improves the wellness determination learning ability of the classifier in a more logical manner. CDEA and LAC enhance the accuracies over the power of association mining of an activity’s contextual information. The comprehensive training set preparation by the CDEA improves overall wellness determination over the inclusion of low-support training instances and the introduction of strong associated activity parameters-based CARs.
In
Figure 7, the wellness determination is evaluated in terms of f-measure. For performance evaluation of CAAWD, the f-measure was determined and compared against the f-measure value observed in [
37]. In [
37], only one individual-A (Ordonez dataset) f-measure was determined. F-measure considers both precision and recall evaluation metrics. CAAWD performance has been evaluated with and without CDEA in
Figure 8.
CAAWD determines strong associations between spatial–temporal and other activity contextual parameters by using CDEA. These associations help in the generation of better classification rules. Inclusion of contextual information (by CDEA) ideally fits in with the working mechanism of LAC. The lazy approach uses three sets of rules, as discussed in
Section 3.1; with the large number of association classification rules, projection of test instance attributes yield more accurate and highly correlated wellness determination classification rules. As a result, we can observe better accuracy while CAAWD utilizes CDEA.
In
Table 6, classification parameters (precision, recall, and f-measure) are presented for each individual.
For the context aware validation, we have generated 2000 behavior anomalies for each elderly person and experimented with CAAWD for the proposed behavior analysis (BA) module validation. Of these 2000 anomalies, 1000 are “normal” and 1000 are “abnormal”. Out of 1000 “abnormal” activities, 500 are contextually “normal” and 500 are contextually “abnormal”.
Table 7 represents the possible behavior anomaly examples and possible reasons.
The LAC classifier classifies these generated instances for ten subjects as normal/abnormal and is represented as in
Table 8.
For validation of the behavioral analysis (BA) module, only abnormally classified instances are considered and the following contextual information has been utilized, as shown in
Table 9.
The following results of ten subjects have been observed. Their accuracy, precision, recall, and f-measure values were calculated and are presented in
Table 10.
Table 11 presents the comparison of the weighted (accuracy, precision, recall, and f-measure) values of CAAWD and the existing proposed technique [
5].
It has been observed that the BA module has successfully introduced contextual information and, with the analysis of each abnormal instance, it has classified with higher accuracy according to the provided contextual information. It has also been observed that accuracy has fallen due to the violation of contextual conditions provided for validation. The weighted accuracy and precision of the technique proposed in [
5] is observed as 95.1% and 94.9%. We have observed promising results, as CAAWD has successfully outperformed the weighted accuracy and precision of the technique proposed in [
5], as presented in
Table 10.
One of the inherited limitations of the associative classifiers is that associative classifiers take longer to build a classification model. LAC has been analyzed with respect to the time taken to build the classification model (seconds) in
Table 11. These experiments have been conducted on a core i5 processor and a 4 GB RAM computer system on Ordonez’s dataset. The average time to build a model (seconds) is presented in
Table 12.
It is observed that LAC has a shorter classification model building time than WAC (associative classifier), but is longer than Naïve Bayesian and C 4.5, due to its lazy classification approach.
4.5. Discussion
It has been observed that CAAWD performs better in accuracy, precision, recall, and f-measure by utilizing dataset [
12], when compared against the existing proposed techniques. However, CAAWD needs to be analyzed in a real smart home environment. CAAWD is based on location specific activity; this limitation can be eliminated by utilizing wearable sensors which will help in identifying the other ADLs, however, such datasets should be provided for further investigation. LAC’s model training time is better than other associative classifiers because of its lazy classification approach, however, other classification models, such as C 4.5 and Naïve Bayesian, have better training time than LAC. CAAWD determines the wellness of an elderly person using behavior pattern analysis; CAAWD needs to be further investigated in several contextual scenarios, such as weather change, web usage, and the medical vital parameters of an elderly person. Similarly, outdoor monitoring of elderly people needs to be integrated for a comprehensive wellness determination.
5. Conclusions
In this research article, a model for accurate wellness determination of elderly people living alone in smart homes was proposed. The CAAWD aims to provide healthcare monitoring of elderly people, along with the prime object of higher wellness determination classification accuracy and precision for better healthcare. Activities of daily living (ADLs) are monitored via WSN to understand the normal and abnormal behavioral patterns of an individual living in a smart home environment. The contextual data extraction (CDE) module was introduced in CAAWD to highlight the significance of a behavior’s spatial–temporal information (time and location), along with activity associated contextual information (duration, object, and sub-activity) for wellness determination. CDEA generates comprehensive behavior training instances for better training of the classifier; wellness determination is based on significant wellness contextual parameters (time, location, duration, object, and sub-activity). CAAWD employs the lazy associative classifier (LAC) for the first time for the wellness determination of elderly people. The association mining process in LAC generates highly correlated class association rules (CARs). The lazy approach ensures less pruning of useful CARs and the introduction of minimum support behavior patterns. Based on normal and abnormal behavioral patterns, wellness is determined by CARs. CAAWD’s behavior analysis module further analyzes the abnormally classified instances of the contextual information provided by the caregiver, as classification models are trained on the limited provided information and the behavior of individuals changes with time and healthcare requirements. Upon abnormal classification of a behavioral pattern, an alarm is generated to the remote caregiver to avoid emergency situations. CAAWD is evaluated over a benchmark dataset and compared with existing proposed techniques. It has been observed that CAAWD outperformed the compared techniques over the dataset in terms of accuracy, precision, and f-measure.
The current study could be extended to accommodate the changing behavioral patterns of elderly people with extrinsic contextual information, such as caregiver input, emotions, and important events, as future directions for the existing model.