Next Article in Journal
Data Stream Clustering Techniques, Applications, and Models: Comparative Analysis and Discussion
Next Article in Special Issue
Doppler Radar-Based Non-Contact Health Monitoring for Obstructive Sleep Apnea Diagnosis: A Comprehensive Review
Previous Article in Journal
An Experimental Evaluation of Fault Diagnosis from Imbalanced and Incomplete Data for Smart Semiconductor Manufacturing
Previous Article in Special Issue
The Internet and the Anti-Vaccine Movement: Tracking the 2017 EU Measles Outbreak
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Constrained Optimization-Based Extreme Learning Machines with Bagging for Freezing of Gait Detection

by
Syed Waqas Haider Shah
1,*,
Khalid Iqbal
2 and
Ahmad Talal Riaz
3
1
Department of Electrical Engineering, Information Technology University (ITU), Lahore 54000, Pakistan
2
College of Electrical and Mechanical Engineering, National University of Science and Technology, Islamabad 46000, Pakistan
3
Experts Vision Engineering and Technology Innovations, Islamabad 46000, Pakistan
*
Author to whom correspondence should be addressed.
Big Data Cogn. Comput. 2018, 2(4), 31; https://doi.org/10.3390/bdcc2040031
Submission received: 4 September 2018 / Revised: 9 October 2018 / Accepted: 12 October 2018 / Published: 15 October 2018
(This article belongs to the Special Issue Health Assessment in the Big Data Era)

Abstract

:
The Internet-of-Things (IoT) is a paradigm shift from slow and manual approaches to fast and automated systems. It has been deployed for various use-cases and applications in recent times. There are many aspects of IoT that can be used for the assistance of elderly individuals. In this paper, we detect the presence or absence of freezing of gait in patients suffering from Parkinson’s disease (PD) by using the data from body-mounted acceleration sensors placed on the legs and hips of the patients. For accurate detection and estimation, constrained optimization-based extreme learning machines (C-ELM) have been utilized. Moreover, in order to enhance the accuracy even further, C-ELM with bagging (C-ELMBG) has been proposed, which uses the characteristics of least squares support vector machines. The experiments have been carried out on the publicly available Daphnet freezing of gait dataset to verify the feasibility of C-ELM and C-ELMBG. The simulation results show an accuracy above 90% for both methods. A detailed comparison with other state-of-the-art statistical learning algorithms such as linear discriminate analysis, classification and regression trees, random forest and state vector machines is also presented where C-ELM and C-ELMBG show better performance in all aspects, including accuracy, sensitivity, and specificity.

1. Introduction

In recent times, the Internet-of-Things (IoT) has paved its way into our daily lives by aligning itself with ‘things’ like vehicles, home appliances, smartphones, etc. [1,2], to create inter-connectivity for data exchange. In IoT-based applications, data are collected from different types of wireless sensors [3], generating a huge repository of data for decision-making. These data can be utilized in various fields including business, infrastructure applications and smart homes. For instance, a smart home can be automated to control the appliances in a house, while also enabling collection of data from different home sensors. Therefore, the basic idea is to enable remote monitoring, which can operate independent of any human intervention. Similarly, another important turf for IoT is biomedical applications, one of which can be the assistance of elderly people suffering from Parkinson’s disease (PD). Being a degenerative disorder of the central nervous system that shows its symptoms slowly over time and mainly occurring in people over the age of sixty, Parkinson’s is the second most common neuro-degenerative disorder after Alzheimer [4,5]. One of the common symptoms which Parkinson’s entails is the freezing of gait (FoG). During an episode of FoG, a person can completely lose his/her ability to move, therefore increasing the risk of falling of an individual during walking [6]. To overcome these freezing attacks, certain ‘tricks’ can be devised, which aim to provide sensory-motor drive, such as context-aware cueing therapy. In this system, whenever FoG is detected, an auditory signal goes off, initiating the person to resume walking. In this context, smartphones can serve as a handy tool for the purpose of FoG detection and signal initiation. To this end, the authors in [7] proposed the use of a wearable system for the purpose of FoG detection. The system was able to detect FoG with a specificity of 81.6% and a sensitivity of 73.1%.
FoG detection has remained a hot research topic; various papers in the literature have addressed this issue. The detection of FoG in a subject can be considered to be a binary classification problem, in which the job of the classifier is to predict whether a person has suffered freezing or not, according to the past data. There are various works that have used classification methods for FoG detection in the literature such as [8,9,10]. For online detection of FoG, [8] proposed the use of a smartphone and wearable accelerometers. Their FoG detection technique was based on the utilization of several ML algorithms on the Daphnet dataset. The algorithms used for the classification task were random forests, naive Bayes, decision trees and k-nearest neighbors (k-NN). The best results were achieved by random forests with a sensitivity and specificity of 66.25% and 95.38%, respectively. The authors in [11] presented an SVM-based algorithm to detect FoG using a single tri-axial accelerometer. The evaluation was carried out using generic, as well as personalized models for each patient, where a personalized model was developed using additional dataset features. In total, the dataset was obtained from a total of 21 subjects. The algorithm showed significant enhancement of 11.2% from the Moore–Bächlin FoG algorithm (MBFA) in terms of the generic model, while 10% improvement from the MBFA in terms of the personalized model.
Convolutional neural networks (CNN) comprise an efficient and widely-used tool in machine learning (ML) for addressing various problems or to improve some existing issues such as face recognition [12], modeling sentences [13], localization [14] and image classification [15,16]. In [17], FoG detection was achieved using deep learning and signal processing techniques. More specifically, a so-called ConvNet was developed in a feed-forward fashion with eight layers, including five convolutional layers along with two dense layers of the traditional network and a single output layer. This strategy reduces the number of weights since there are only two dense layers. The dataset was obtained using an inertial measurement unit (IMU), which was attached to the left side of each of the 15 patients under consideration. The experiments have yielded 88.6% performance for sensitivity and 78% for specificity. Several algorithms exist to train a CNN, and one such common method is back propagation [18]. One of its disadvantage is that it may reduce the speed of convergence during training due to its large number of iterative steps to achieve better performance. In [19], the authors have proposed extreme learning machines (ELMs), which are single-layer feed forward neural networks, to offer better generalized performance. In order to connect inputs and hidden neurons, an ELM employs random weights and biases, which are independent of the previously-used weights. In ELMs, the weights are calculated by the least squares approximation technique, and the output weights are analytically determined, thus consequently resulting in a fast learning speed. Due to its fast learning process, it can also be used with other artificial intelligence methods to solve several problems [20]. ELMs can work with various types of activation functions like Fourier series [21], fuzzy rule [22], sigmoid function [23], radial basis function [24], threshold network [25], etc.
To aid in classification problems, inequality constrained optimization-based ELM (C-ELM) was proposed by Huang et al. in [26]. In [27], the authors used the concept of least squares support vector machines (LS-SVMs), which is a popular variant of SVM [28] to propose equality C-ELM to obtain the comprehensive solution for the weights of the output layer. In any form of ELMs, the number of hidden neurons is tested until a satisfactory or a specified result is achieved [29]. The main drawback of the system is that for every number of hidden neurons that is tested, the output weights also need to be recomputed. To mitigate this problem, incremental ELM (I-ELM) was proposed in [30], in which the hidden neurons are added incrementally until the target is fulfilled. Another contribution in terms of ELM was presented in [31]. The authors have proposed subtractive clustering features weighting using the kernel-based extreme learning machine (SCFW-KELM) approach for the diagnosis of PD. The approach consists of two parts; firstly, the SCFW is used to preprocess the data to decrease the variance of different features, after which the KELM is applied, which has been shown to provide better accuracy in terms of sensitivity (100%), specificity (99.39%) and AUC (99.69%), with a kappa value of 0.9867 and an f-measure of 0.9964, than other algorithms such as SVM, kNN, etc. Another effort in this regard is presented in [32], which used KELM for the diagnosis of PD. The authors have utilized feature scaling along with optimum parameter tuning of the number of hidden neurons, kernel parameter yand constant parameter C to achieve better performance of the ELM and KELM algorithms. An enhanced version of I-ELM was put forward in [33], called EI-ELM. To derive the output weights of a system without using the full set of data, Feng et al. proposed EM-ELM [34]. In [35], the authors used C-ELM and support vector regression (SVR) to propose C-ELM for regression (CO-ELM-R) in order to cope with the influence of noise polarity in data samples.

Contribution and Organization

To the best of the authors’ knowledge, this work is the first attempt to use C-ELM and its ensemble method using bagging (C-ELMBG) to detect FoG in subjects of PD. In this paper, we propose a novel technique for FoG detection using C-ELM and C-ELMBG as the base classifiers to reach a conclusive decision. In our ensemble learning model, several base classifiers are combined to produce one final optimal model (improved accuracy). The optimal model is based on majority voting of the various classifiers. In majority voting, an alternative is selected based on the majority votes of the classifiers, where each classifier is treated as equal and identical. Experimental analysis based on the publicly available Daphnet FoG dataset show an accuracy of above 90%. Moreover, a detailed comparison with other state-of-the-art techniques is also provided, among which our proposed technique stands out with more accurate performance.
The rest of the paper is organized as follows: Section 2 provides the system architecture of FoG detection using IoT. Section 3 presents our proposed mechanism (C-ELMBG) for classification along with our proposed algorithm. Section 4 provides the experimental analysis and simulation results followed by some discussion. Finally, Section 5 provides concluding remarks. For the readers’ facilitation, Table 1a,b shows all the acronyms and mathematical notations used in this paper, respectively, for convenient referencing.

2. Freezing of Gait Detection Using IoT

In FoG detection, the observations are generally the readings from the acceleration and motion sensors, which are mounted on the patient’s body [36]. Usually, the accelerometer is the preferred sensor for analyzing the gait of the subjects. In [37], a variety of parameters including measuring the intensity of physical activity and identifying the kind of movements are analyzed using a triaxial accelerometer on real-time systems. The IoT architecture for FoG detection is given in Figure 1. A 3D accelerometer sensor is used to collect the data, while the data analysis and storage are done on the cloud, which evaluates the severity of the situation. The system consists of two main parts: a smartphone (or a nearby computer), which provides an interactive environment to the subjects to configure the relevant settings, as well as serving as an IoT gateway and a cloud service for data-processing, since sensors are resource-constrained in general and do not have the capability of storing and processing data.
From the perspective of an IoT architecture, there are three layers that are involved in the sensing/actuation, processing and analyzing of data, being the sensing layer, network layer and application layer. At the bottom is the sensing and actuation layer, which senses data from the environment through sensors and smart objects. In IoT, these objects can be anything ranging from refrigerators to vehicles equipped with sensors. The next layer is the network layer, which fuses the data that come from the lower layer and transmit them to the Internet for further processing. Since smartphones act as the bridge between the sensors and cloud service, the network layer is comprised of smartphones. The final layer is the application layer, which provides data analytics and decision making through machine learning. The application layer is comprised of the cloud service. The results from data analytics are then relayed to wearable sensors and the actuators’ layer through the smartphones. Moreover, the subjects can use the smartphones to view their own performance based on processed results from the cloud; each smartphone houses a dedicated mobile app designed specifically for this purpose.
A scheme of online FoG detection through body-mounted sensors on a patient is shown in Figure 2. Motion patterns of the patient are analyzed using acceleration features of various sensors (NTMotion:AccGyro sensors [38]) mounted on the body. Since these sensors have very limited energy, the use of efficient low-power communication protocols is accentuated. Most appropriate candidates for communication include the Bluetooth protocol (802.15.1), Bluetooth low energy (BLE), ZigBee (802.15.4) and Wireless Body Area Network (802.15.6). Each of these protocols has its own features and requirements; for example, BLE is specifically designed for short-range applications, which consume minimal power, such as health monitoring, while ZigBee provides communication in a personal operating space (POS) of 10 m [39]. Data from these sensors is collected at the smartphone, preferably using the BLE device due to its better energy efficiency as compared to ZigBee and other protocols [40], which then transmits the data to the cloud.
Today’s infrastructure of IoT consists of various feasible options to transmit the data from smartphones to the cloud such as backhaul WiFi networks or cellular data networks (e.g., long-term evolution (LTE)) [41]. The rationale behind the use of the cloud service is that it offers several advantages such as accessibility and scalability on demand, which means that rather than patients always carrying an expensive piece of hardware to process complex data, this job can be outsourced to the cloud. Furthermore, the cloud can store the patient’s historic data en masse, which can also provide insight into patient’s health and also help in online training of the machine learning algorithms. The machine learning algorithms are the core of the whole system, which can recognize any pattern hidden within the recorded data, account for any correlation between different observations and also provide long-term benefits of medical diagnostics. Through these algorithms, earlier diagnosis of the disease is possible, and it can also help in reducing the costs by allowing one to circumvent expensive lab test. Another important aspect is the continual maturity of the machine learning algorithms, which are now part of the many software packages such as Python and MATLAB. Clouds can also provide better diagnostic information using visualization of the data. In fact, visualization is helpful for physicians to interpret the connection between different observations and respond accordingly. Visualizing is an effective way to represent data in a human-readable format and to make some meaningful analysis out of it. The cloud performs data analytics and provides feedback and decisions to the smartphone, which relays it to the sensor/actuator layer. In the event of FoG detection, the patients receive a feedback (decision). Finally, gait rehabilitation is initiated in the form of auditory and vibration signals.

3. Constrained Optimization-Based Extreme Learning Machine with Bagging

Bootstrap aggregating or bagging is an ensemble method used to improve the stability and accuracy of a machine learning algorithm for the classification problem. The idea of bagging is to generate n new training datasets from a given training set of size N by sampling and replacing. Based on the n generated bootstrap samples, n individual classifiers are constructed to predict the output of the test data. C-ELM is considered to be the base learner for the bagging method. The sampled training datasets are trained with the base classifier to generate the prediction output. The number of weak learners (P), where each weak learner contributes to the better accuracy of the final predicted model, needs to be evaluated and provided as an input to the bagging model. This is because bagging helps in reducing variability in the predictions. The final decision of a classification model that uses bagging is made by applying majority voting. The structure of the base classifier (C-ELM) for bagging is given in Figure 3.
As shown in Figure 3, C-ELM is categorized into three sub-layers. These sub-layers are generally known as the output (m output nodes), hidden (N hidden nodes or neurons) and input (N input nodes) layer. Nodes of the input and hidden layers are fully connected by some input weights w i = [ w i 1 , w i 2 , . . . , w i N ] T , where i = 1 , 2 , . . . , N ¯ . On the other hand, nodes of the hidden and output layers are fully connected by another set of weights, which is given by B j = ( B j 1 , B j 2 , . . . , B j N ¯ ) T , where j = 1 , 2 , . . . , m . For any input observation vector x = ( x 1 , x 2 , . . . , x N ) T , the hidden layer matrix H can be calculated as H = g ( w i T x + b i ) , where g(.) denotes the kernel/activation function and b i gives the bias of the i-th neuron. The final predicted vector y ¯ = ( y 1 ¯ , y 2 ¯ , . . . , y m ¯ ) T is given by:
y ¯ = i = 1 N ¯ B j i H
ELM owes its popularity to the fact that the input weights and the biases do not need to be trained. The same logic is followed by C-ELM, as well, where w i and b i , i = 1 , 2 , . . . , N ¯ are taken randomly.
The goal of C-ELM is to learn the output weights B j based on a set of training instances. Therefore, given a training set S = [ ( x k , y k ) | x k R k , y k R m , k = [ 1 , 2 , . . . , K ] ] , where x k = [ x k 1 , x k 2 , . . . , x k K ] and y k = [ y k 1 , y k 2 , . . . , y k K ] are respectively the input and the target output vectors of a particular training instance k. To learn the output weights B j from the training dataset, the following objective function needs to be solved:
Minimize L ( ϑ , ζ ) = 1 2 ϑ 2 + C 2 k = 1 K ζ k 2 subject to the constraints:
ϑ T h ( X k ) = y k ζ k
where ζ k is the predicted error of the k instances, C is a parameter for regularization, ϑ N ¯ × m = [ B 1 , B 2 , . . . , B m ] and matrix h ( X k ) of size N ¯ × 1 is given as follows,
h ( X k ) = g ( w 1 T x k + b 1 ) g ( w 2 T x k + b 2 ) . . g ( w N ¯ T x k + b N )
In order to solve the constraint given as above, we now apply the Kuhn–Tucker conditions (Lagrange multipliers) [42]; the solution thus obtained is:
ϑ = ( I N ¯ × N ¯ C + H T H ) 1 H T Y
where I N ¯ × N ¯ represents an identity matrix of size N ¯ × N ¯ . The matrix H can now be represented as:
H = h ( x 1 ) T h ( x 2 ) T . . h ( x K ) T , Y = y 1 T y 2 T . . y K T
For any instance k, the target output vector y k can be defined as:
y k j = 1 : when instance k belongs to category j 1 : when instance k does not belong to category j
where 1 j m and m is the total number of categories present in the dataset. For an input vector x k , if y ¯ k is the predicted vector, then the category of x k is:
x k = arg max j 1 , 2 , . . , m ( y ¯ k j )
The algorithm for C-ELMBG is presented in Algorithm 1. It is further divided into two phases, training and testing. First, we train the algorithm using the training dataset, and then, in the testing phase, we evaluate the algorithm using the test dataset. In the training phase, a specified random portion of the dataset is taken, the input weights (w) are assigned and the matrix (H) is calculated. The activation function that is considered for the analysis of the classifier using C-ELMBG is the sigmoid function [23]. The procedure for finding the number of hidden neurons is the same as [34]. Once the network has been trained, the testing samples (disjoint from the training samples) can be applied to it, in order to validate the accuracy of the developed network. The matrix H t e s t is calculated using the test input weights w t e s t . Later, in order to make a final decision, the majority voting principle is leveraged. If the number of positive values of ρ is greater than the number of negative values of ρ , then ψ t e s t belongs to ‘freeze’ class; otherwise, it belongs to the ‘not freeze’ class.
Algorithm 1: C-ELM with bagging (C-ELMBG).
Bdcc 02 00031 i001

4. Experimental Analysis

4.1. Simulation Setup

The validity of the base classifier C-ELM and C-ELMBG is presented through experimental analysis on the Daphnet FoG dataset [43] using MATLAB R2016a. A detailed comparison of the results of our proposed scheme with the state-of-the-art statistical learning models like classification and regression trees (CART), linear discriminant analysis (LDA), SVM and random forests (RF) is also presented.

Description of the FoG Dataset

The Daphnet FoG dataset [43] was originally collected to come up with methods that can detect gait freeze in a person from the various wearable acceleration sensors placed on their legs and hips [7]. It was collected from 10 patients suffering from PD, who regularly experienced FoG in their routine life. The source of the data was 3D acceleration sensors, which were attached to each subject’s shank, thigh and trunk, and measurements were taken with a sampling frequency of 64 Hz, transmitted via a Bluetooth device to the system, also attached to the subjects. Each subject underwent two sessions of data recording, where each session lasted for about 15 minutes and consisting of a number of steps including straight line walking, walking with numerous turns and more realistic activities like fetching coffee, opening doors, etc. In total, there are nine features available in the dataset including three-dimensional accelerations of ankle, shank and trunk. A detailed description of these features and the output is also presented in Table 2.
The starting point of FoG was taken as the point when the regular gait pattern was arrested, while the ending point was the resumption of regular gait (i.e., left-right steps). The results of the experiments were divided into three classes: 1, no freeze; 2, freeze; and 0, those data that were not part of the experiment. For experimental purposes in this work, only Classes 1 and 2 have been considered. To successfully apply C-ELM and C-ELMBG, the datasets with the result as Class 2 belong to the output Category +1, and those with the result as Class 1 belong to the output Category −1. The experimental analysis is performed on two sets of data, which have been chosen randomly. The first dataset contains 20,410 samples, while the second dataset contains 27,392 samples chosen from the data of the different patients.
Firstly, the training set is applied on the model to fine-tune the weights of the network, and then, validation of the model is done using validation dataset. For the 20,410 and the 27,392 samples considered, 9382 samples have been randomly taken for testing, thus creating the validation set, and the rest of the 11,028 and the 18,010 samples respectively have been used for training purposes, thus creating two individual training datasets. The details of the dataset are given in Table 3a.

4.2. Simulation Results

The performance of the developed classifier is calculated using the confusion matrix as given in Table 3b. False negative ( F n ) is also known as miss rate, false positive ( F p ) as fall-out, true negative ( T n ) as specificity and true positive ( T p ) as hit rate, sensitivity and recall. In a confusion matrix, the term T p refers to the cases in which the classifier predicted a ‘yes’ and the patient actually suffered from FoG. For the T n cases, the classifier gives a negative answer, and the person actually did not exhibit FoG conditions. On the contrary, for the F p , the classifier predicts a patient to have manifested FoG, but the patient actually did not. For the F n cases, the reverse is true.

4.2.1. Metrics for Evaluation of a Classifier

Some metrics can be derived from a confusion matrix to evaluate a classifier. These metrics can be expressed as follows:
To determine how often a classifier gives correct predictions, its accuracy can be evaluated as:
φ = T p + T n T n + F p + F n + T p
where φ is accuracy, T p is true positive, T n is true negative, F p is false positive and F n is false negative. The balanced F-score, also known as the F1 score ( F 1 ), can also be used to measure the accuracy of a classifier. It is formulated as:
F 1 = 2 × T p 2 × T p + F p + F n
The sensitivity ( ρ ) or recall of a classifier indicates its capacity to correctly predict the number of positives in a dataset and can be given as:
ρ = T p T p + F n
Specificity ( ς ) is the proportion of negatives in a binary classification test that are correctly identified.
ς = T n T n + F p
Matthews’ correlation coefficient (MCC) is used in machine learning to determine the predictive quality of a binary classification. It gives a correlation between the observed and the predicted binary classification.
Θ = ( T p × T n ) ( F p × F n ) ( T p + F p ) × ( T p + F n ) × ( T n + F p ) × ( T n + F n )
where Θ is the MCC.

4.2.2. Parameter Settings

The parameter settings for the successful implementation of C-ELM are described next. In (3), the regularization parameter C needs to be evaluated. This value is chosen during the training period and remains unchanged during the testing phase. Figure 4a,b shows the receiver operating characteristic (ROC) curves for the test set used in Training Set 1 and Training Set 2, respectively for different values of C . The C values for the four curves are C = 2 20 , C = 2 22 , C = 2 24 and C = 2 26 . The curve corresponding to C = 2 24 has the highest area under curve (AUC) among all the curves; its value being equal to 0.8994 , pertaining to Training Set 1, and 0.9248 for Training Set 2. The other AUC values in Figure 4a are 0.8631 , 0.8734 and 0.8781 , and those in Figure 4b are 0.9142 , 0.9016 and 0.8979 , respectively for C = 2 20 , C = 2 22 and C = 2 26 . Thus, C = 2 24 has been considered as the regularization parameter value for both C-ELM and C-ELMBG. The point of observation in the graphs provides the point where a sudden change is detected. For example, in Figure 4a at F p = 0.3 and onwards, the values of T p gets smoother for C = 2 22 , C = 2 24 and C = 2 26 , and at F p = 0.2 and onwards, the value of T p for C = 2 20 gets smoother. The same is the case with Figure 4b, as well.
For C-ELMBG, the parameters that need to be considered are the number of weak learners P and the sampling rate. With Training Dataset 1, the best accuracy of the test set is achieved with the 10 weak learners and the sample size of 70%, as shown in Figure 5a. On the other hand, with Training Dataset 2, the classifier gives the best accuracy with the 20 weak learners when the sampling size is 90%, as shown in Figure 5b. The error bars in the graphs provide the variability of error or uncertainty in the reported data samples. This error can be calculated by i = 1 R ( φ i φ ¯ ) 2 R 1 . This gives the standard deviation (point variance) of the reported sample data, which is then divided by the square root of the number of sample measurements (R) to yield uncertainty. Here, R gives the number of runs for each sampling rate and is taken to be 30. The value of initial hidden nodes is taken as 20.

4.2.3. Comparison with Other Classifiers

Table 4a,b gives the values for the different metrics for C-ELM, C-ELMBG, LDA, CART, SVM and RF for Training Sets 1 and 2, respectively as given in Table 3a.
For the test dataset, C-ELM with bagging provides the best accuracy for both the training datasets. The F1-score is yet another parameter in binary classification to test the accuracy of the given classifier. The F1-score values for C-ELM and C-ELMBG show that they perform better than the other classifiers. RF performs better than the other three models, which can be attributed to its ensemble learning method that uses bagging. However, both F1-score and accuracy cannot capture the true essence of a classifier, as they do not comprehend the size of the four classes of the confusion matrix (Table 3b). This is where MCC comes to the rescue, which evaluates the proportion of each class of the confusion matrix. The MCC values show that C-ELMBG has the best performance among all the classification techniques while taking both training sets into account. Similarly in terms of sensitivity, C-ELM and C-ELMBG score better than other algorithms. Though SVM has a specificity value of 100%, its sensitivity value is zero for the results in Table 4a, making it practically improbable. Similarly, the sensitivity value of SVM in Table 4b is 100%, but its specificity value is zero, thus further confirming its impracticality. Here, again, LDA has a better specificity value in Table 4b than other classifiers. Hence, it is difficult to conclude which classifier renders the best performance. Thus, to confirm the prognostication ability of a classifier, the area under a receiver operating characteristic curve (AUROC) is taken into consideration. AUROC provides the summary statistics for the goodness of a classifier in a binary classification task, thus resolving the ambiguity regarding the performance of a classifier. Figure 6a,b shows the ROC curves for each of the classifiers over all possible thresholds. Each of the curves are plotted for the T p rate against the F p rate. We can see from these figures that the performance of the C-ELMBG is lower as compared to other machine learning algorithms for smaller F p values, but as the value of F p increases, it bypasses the other algorithms in performance. The discussion on the point of observation is the same as discussed above for Figure 4a,b with the replacement of the regularization parameter with different machine learning algorithms.
From the results of AUROC from Table 4a,b, it can be concluded that the classifiers using C-ELM and C-ELMBG perform competitively better when compared to other state-of-the-art classifiers. In terms of AUROC, for the results in Table 4a using Training Dataset 1, C-ELM shows an accuracy improvement of 1.95% over RF, 7.18% over CART, 11.14% over LDA and 44.69% over SVM; whereas, the accuracy by using C-ELMBG is further improved by 3.7% over RF, 8.93% over CART, 12.89% over LDA and 46.44% over SVM. Moreover, for the results in Table 4b for Training Dataset 2, C-ELM shows an accuracy improvement of 4.88% over RF, 7.35% over CART, 17.41% over LDA and 54.57% over SVM; whereas, the accuracy by using C-ELMBG is further improved by 5.74% over RF, 8.21% over CART, 18.27% over LDA and 55.43% over SVM.

5. Conclusions

This paper adopts an extreme learning machine-based technique called C-ELM to act as a base classifier for C-ELMBG, which is an ensemble model to detect FoG in a patient using data from the body-mounted acceleration sensors placed on his/her legs and hips. A model based on C-ELMBG classifies a new observation as either freeze or no-freeze based on the value of the predicted vector. Through experimental analysis based on the two training sets, it can be seen that C-ELMBG achieves an accuracy as high as almost 94% (93.97%). The overall performances of the base classifier CELM and C-ELMBG are also reflected through their values of AUROC. A comparative study with the existing state-of-the-art machine learning techniques such as LDA, CART, SVM and RF also shows the superiority of C-ELM and C-ELMBG. C-ELM and C-ELMBG can be easily implemented using an IoT-based system to successfully detect FoG in a patient suffering from PD.

Author Contributions

Conceptualization, S.W.H.S.; methodology, S.W.H.S.; software, S.W.H.S.; validation, S.W.H.S.; formal analysis, S.W.H.S.; investigation, S.W.H.S.; resources, S.W.H.S. and K.I.; data curation, S.W.H.S. and A.T.R.; writing—original draft preparation, S.W.H.S.; writing—review and editing, S.W.H.S. and A.T.R.; visualization, S.W.H.S.; supervision, K.I.

Acknowledgments

The authors would like to thank Information Technology University for providing necessary resources required for completing the project.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Handte, M.; Foell, S.; Wagner, S.; Kortuem, G.; Marrón, P.J. An internet-of-things enabled connected navigation system for urban bus riders. IEEE Internet Things J. 2016, 3, 735–744. [Google Scholar] [CrossRef]
  2. Xu, G.; Yu, W.; Griffith, D.; Golmie, N.; Moulema, P. Toward integrating distributed energy resources and storage devices in smart grid. IEEE Internet Things J. 2017, 4, 192–204. [Google Scholar] [CrossRef] [PubMed]
  3. Yu, T.; Wang, X.; Shami, A. Recursive principal component analysis-based data outlier detection and sensor data aggregation in IoT systems. IEEE Internet Things J. 2017, 4, 2207–2216. [Google Scholar] [CrossRef]
  4. Pringsheim, T.; Jette, N.; Frolkis, A.; Steeves, T.D. The prevalence of Parkinson’s disease: A systematic review and meta-analysis. Mov. Disord. 2014, 29, 1583–1590. [Google Scholar] [CrossRef] [PubMed]
  5. Islam, S.R.; Kwak, D.; Kabir, M.H.; Hossain, M.; Kwak, K.S. The internet of things for health care: A comprehensive survey. IEEE Access 2015, 3, 678–708. [Google Scholar] [CrossRef]
  6. Bloem, B.R.; Hausdorff, J.M.; Visser, J.E.; Giladi, N. Falls and freezing of gait in Parkinson’s disease: A review of two interconnected, episodic phenomena. Mov. Disord. 2004, 19, 871–884. [Google Scholar] [CrossRef] [PubMed]
  7. Bachlin, M.; Plotnik, M.; Roggen, D.; Maidan, I.; Hausdorff, J.M.; Giladi, N.; Troster, G. Wearable assistant for Parkinson’s disease patients with the freezing of gait symptom. IEEE Trans. Inf. Technol. Biomed. 2010, 14, 436–446. [Google Scholar] [CrossRef] [PubMed]
  8. Mazilu, S.; Hardegger, M.; Zhu, Z.; Roggen, D.; Troster, G.; Plotnik, M.; Hausdorff, J.M. Online detection of freezing of gait with smartphones and machine learning techniques. In Proceedings of the 6th IEEE International Conference on Pervasive Computing Technologies for Healthcare (PervasiveHealth), San Diego, CA, USA, 21–24 May 2012; pp. 123–130. [Google Scholar]
  9. Kubota, K.J.; Chen, J.A.; Little, M.A. Machine learning for large-scale wearable sensor data in Parkinson’s disease: Concepts, promises, pitfalls, and futures. Mov. Disord. 2016, 31, 1314–1326. [Google Scholar] [CrossRef] [PubMed]
  10. Pepa, L.; Ciabattoni, L.; Verdini, F.; Capecci, M.; Ceravolo, M. Smartphone based fuzzy logic freezing of gait detection in parkinson’s disease. In Proceedings of the IEEE/ASME 10th International Conference on Mechatronic and Embedded Systems and Applications (MESA), Senigallia, Italy, 10–12 September 2014; pp. 1–6. [Google Scholar]
  11. Rodriguez-Martin, D.; Sama, A.; Perez-Lopez, C.; Catala, A.; Arostegui, J.M.M.; Cabestany, J.; Bayes, A.; Alcaine, S.; Mestre, B.; Prats, A.; et al. Home detection of freezing of gait using support vector machines through a single waist-worn triaxial accelerometer. PLoS ONE 2017, 12, e0171764. [Google Scholar] [CrossRef] [PubMed]
  12. Lawrence, S.; Giles, C.L.; Tsoi, A.C.; Back, A.D. Face recognition: A convolutional neural-network approach. IEEE Trans. Neural Netw. 1997, 8, 98–113. [Google Scholar] [CrossRef] [PubMed]
  13. Kalchbrenner, N.; Grefenstette, E.; Blunsom, P. A convolutional neural network for modelling sentences. arXiv, 2014; arXiv:1404.2188. [Google Scholar]
  14. Liu, F.; Zhong, D. GSOS-ELM: An RFID-Based Indoor Localization System Using GSO Method and Semi-Supervised Online Sequential ELM. Sensors 2018, 18, 1995–2010. [Google Scholar] [CrossRef] [PubMed]
  15. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. In Proceedings of the 25th International Conference on Neural Information Processing Systems, Lake Tahoe, Nevada, 3–5 December 2012; pp. 1097–1105. [Google Scholar]
  16. Uzair, M.; Shafait, F.; Ghanem, B.; Mian, A. Representation learning with deep extreme learning machines for efficient image set classification. Neural Comput. Appl. 2018, 30, 1211–1223. [Google Scholar] [CrossRef]
  17. Camps, J.; Sama, A.; Martin, M.; Rodriguez-Martin, D.; Perez-Lopez, C.; Alcaine, S.; Mestre, B.; Prats, A.; Crespo, M.C.; Cabestany, J.; et al. Deep Learning for Detecting Freezing of Gait Episodes in Parkinson’s Disease Based on Accelerometers. In International Work-Conference on Artificial Neural Networks; Springer: Cham, Switzerland, 2017; pp. 344–355. [Google Scholar]
  18. Hagan, M.T.; Demuth, H.B.; Beale, M.H.; De Jesús, O. Neural Network Design; PWS Pub.: Boston, MA, USA, 1996; Volume 20. [Google Scholar]
  19. Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme learning machine: Theory and applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef] [Green Version]
  20. Wong, C.M.; Vong, C.M.; Wong, P.K.; Cao, J. Kernel-based multilayer extreme learning machines for representation learning. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 757–762. [Google Scholar] [CrossRef] [PubMed]
  21. Han, F.; Huang, D.S. Improved extreme learning machine for function approximation by encoding a priori information. Neurocomputing 2006, 69, 2369–2373. [Google Scholar] [CrossRef]
  22. Rong, H.J.; Huang, G.B.; Sundararajan, N.; Saratchandran, P. Online sequential fuzzy extreme learning machine for function approximation and classification problems. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2009, 39, 1067–1072. [Google Scholar] [CrossRef] [PubMed]
  23. Rumelhart, D.E.; McClelland, J.L. Parallel Distributed Processing: Explorations in the Microstructure of Cognition; Foundations; MIT Press: Cambridge, MA, USA, 1986; Volume 1. [Google Scholar]
  24. Zhu, Y.; Liang, J.; Chen, J.; Ming, Z. An improved NSGA-III algorithm for feature selection used in intrusion detection. Knowl. Based Syst. 2017, 116, 74–85. [Google Scholar] [CrossRef]
  25. Huang, G.B.; Zhu, Q.Y.; Mao, K.; Siew, C.K.; Saratchandran, P.; Sundararajan, N. Can threshold networks be trained directly? IEEE Trans. Circ. Syst. II Express Briefs 2006, 53, 187–191. [Google Scholar] [CrossRef]
  26. Huang, G.B.; Ding, X.; Zhou, H. Optimization method based extreme learning machine for classification. Neurocomputing 2010, 74, 155–163. [Google Scholar] [CrossRef]
  27. Huang, G.B.; Zhou, H.; Ding, X.; Zhang, R. Extreme learning machine for regression and multiclass classification. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2012, 42, 513–529. [Google Scholar] [CrossRef] [PubMed]
  28. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef] [Green Version]
  29. Wang, R.; Kwong, S.; Wang, D.D. An analysis of ELM approximate error based on random weight matrix. Int. J. Uncertain. Fuzziness Knowl. Based Syst. 2013, 21, 1–12. [Google Scholar] [CrossRef]
  30. Huang, G.B.; Chen, L.; Siew, C.K. Universal approximation using incremental constructive feedforward networks with random hidden nodes. IEEE Trans. Neural Netw. 2006, 17, 879–892. [Google Scholar] [CrossRef] [PubMed]
  31. Ma, C.; Ouyang, J.; Chen, H.L.; Zhao, X.H. An efficient diagnosis system for Parkinson’s disease using kernel-based extreme learning machine with subtractive clustering features weighting approach. Comput. Math. Methods Med. 2014, 2014, 985789. [Google Scholar] [CrossRef] [PubMed]
  32. Chen, H.L.; Wang, G.; Ma, C.; Cai, Z.N.; Liu, W.B.; Wang, S.J. An efficient hybrid kernel extreme learning machine approach for early diagnoses of Parkinson’s disease. Neurocomputing 2016, 184, 131–144. [Google Scholar] [CrossRef]
  33. Huang, G.B.; Chen, L. Enhanced random search based incremental extreme learning machine. Neurocomputing 2008, 71, 3460–3468. [Google Scholar] [CrossRef] [Green Version]
  34. Feng, G.; Huang, G.B.; Lin, Q.; Gay, R.K.L. Error minimized extreme learning machine with growth of hidden nodes and incremental learning. IEEE Trans. Neural Netw. 2009, 20, 1352–1357. [Google Scholar] [CrossRef] [PubMed]
  35. Wong, S.Y.; Yap, K.S.; Yap, H.J. A Constrained Optimization based Extreme Learning Machine for noisy data regression. Neurocomputing 2016, 171, 1431–1443. [Google Scholar] [CrossRef]
  36. Tao, W.; Liu, T.; Zheng, R.; Feng, H. Gait analysis using wearable sensors. Sensors 2012, 12, 2255–2283. [Google Scholar] [CrossRef] [PubMed]
  37. Mathie, M.J.; Coster, A.C.; Lovell, N.H.; Celler, B.G. Accelerometry: Providing an integrated, practical method for long-term, ambulatory monitoring of human movement. Physiol. Meas. 2004, 25, R1–R20. [Google Scholar] [CrossRef] [PubMed]
  38. Roggen, D.; Bächlin, M.; Schumm, J.; Holleczek, T.; Lombriser, C.; Tröster, G.; Widmer, L.; Majoe, D.; Gutknecht, J. An educational and research kit for activity and context recognition from on-body sensors. In Proceedings of the IEEE Internation Conference on Body Sensor Networks (BSN), Singapore, 7–9 June 2010; pp. 277–282. [Google Scholar]
  39. Pothuganti, K.; Chitneni, A. A comparative study of wireless protocols: Bluetooth, UWB, ZigBee, and Wi-Fi. Adv. Electron. Electr. Eng. 2014, 4, 655–662. [Google Scholar]
  40. Siekkinen, M.; Hiienkari, M.; Nurminen, J.K.; Nieminen, J. How low energy is bluetooth low energy? comparative measurements with zigbee/802.15.4. In Proceedings of the IEEE Wireless Communications and Networking Conference Workshops (WCNCW), Paris, France, 1 April 2012; pp. 232–237. [Google Scholar]
  41. Soyata, T.; Ba, H.; Heinzelman, W.; Kwon, M.; Shi, J. Accelerating mobile-cloud computing: A survey. In Cloud Technology: Concepts, Methodologies, Tools, and Applications; IGI Global: Hershey, PA, USA, 2015; pp. 1933–1955. [Google Scholar]
  42. Kuhn, H.W.; Tucker, A.W. Nonlinear programming. In Traces and Emergence of Nonlinear Programming; Springer: Basel, Switzerland, 2014; pp. 247–258. [Google Scholar]
  43. Daphnet Freezing of Gait Dataset. Available online: https://archive.ics.uci.edu/ml/datasets/Daphnet+Freezing+of+Gait (accessed on 20 May 2018).
Figure 1. Flow diagram for FoG detection with IoT.
Figure 1. Flow diagram for FoG detection with IoT.
Bdcc 02 00031 g001
Figure 2. Online FoG detection through body-mounted sensors.
Figure 2. Online FoG detection through body-mounted sensors.
Bdcc 02 00031 g002
Figure 3. C-ELM with N input nodes, N hidden nodes and m output nodes.
Figure 3. C-ELM with N input nodes, N hidden nodes and m output nodes.
Bdcc 02 00031 g003
Figure 4. Receiver operating characteristics (ROC) curves: (a) test set corresponding to Training Set 1 for different C values; (b) test set corresponding to Training Set 2 for different C values.
Figure 4. Receiver operating characteristics (ROC) curves: (a) test set corresponding to Training Set 1 for different C values; (b) test set corresponding to Training Set 2 for different C values.
Bdcc 02 00031 g004
Figure 5. Accuracy vs. sampling size for different numbers of weak learners: (a) bagging of test set for Training Set 1, (b) bagging of test set for Training set 2.
Figure 5. Accuracy vs. sampling size for different numbers of weak learners: (a) bagging of test set for Training Set 1, (b) bagging of test set for Training set 2.
Bdcc 02 00031 g005
Figure 6. Receiver operating characteristic (ROC) curves: (a) test set corresponding to Training Set 1 for different classifiers; (b) test set corresponding to Training Set 2 for different classifiers.
Figure 6. Receiver operating characteristic (ROC) curves: (a) test set corresponding to Training Set 1 for different classifiers; (b) test set corresponding to Training Set 2 for different classifiers.
Bdcc 02 00031 g006
Table 1. Acronyms and notations.
Table 1. Acronyms and notations.
(a) List of Common Acronyms Used
AbbreviationDescription
AUROCArea under the receiver operating characteristic curve
CARTClassification and regression trees
C-ELMConstrained optimization-based extreme learning machines
C-ELMBGConstrained optimization-based extreme learning machines with bagging
CNNConvolutional neural networks
FoGFreezing of gait
IoTInternet-of-Things
LDALinear discriminant analysis
MCCMatthews’ correlation coefficient
MLMachine learning
RFRandom forests
ROCReceiver operating characteristic
SVMSupport vector machines
(b) Mathematical Notations
NotationDescription
NSize of training dataset
PNumber of weak learners
H Hidden layer matrix
y ¯ Final predicted vector
ζ k Predicted error of instance k
CRegularization parameter
I N ¯ × N ¯ Identity matrix of size N ¯ × N ¯
y k Target output vector
w i Vector of input weights
B i Vector of output weights
x Input observation vector
φ Accuracy
ρ Sensitivity
ς Specificity
Θ MCC
Table 2. Description of the features.
Table 2. Description of the features.
Sr. No.FeaturesDescription
1.Ankle accelerationhorizontal forward acceleration (mg)
2.Ankle accelerationvertical acceleration (mg)
3.Ankle accelerationhorizontal lateral acceleration (mg)
4.Upper leg accelerationhorizontal forward acceleration (mg)
5.Upper leg accelerationvertical acceleration (mg)
6.Upper leg accelerationhorizontal lateral acceleration (mg)
7.Trunk accelerationhorizontal forward acceleration (mg)
8.Trunk accelerationvertical acceleration (mg)
9.Trunk accelerationhorizontal lateral acceleration (mg)
10.Annotation1–> no freeze 2–> freeze
Table 3. Description of the dataset and confusion matrix.
Table 3. Description of the dataset and confusion matrix.
(a) Dataset Description
ClassificationTotal
FreezeNot Freeze
Test dataset512042629382
Training dataset 12907812111,028
Training dataset 212,145586518,010
(b) Confusion Matrix
Predicted
YesNo
ActualYesTrue positive
( T p )
False negative
( F n )
NoFalse positive
( F p )
True negative
( T n )
Table 4. Results of the test set.
Table 4. Results of the test set.
(a) Training Set 1
LDACARTC-ELMC-ELMBGRFSVM
T p 329841064704480245590
T n 411236753746381537134263
F p 1515875174475490
F n 182110144153185615119
φ (%)78.9882.9490.1291.8788.1745.43
ρ (%)64.4280.2191.8993.7989.050
ς (%)96.4686.2287.9989.5187.10100
F 1 0.79680.83680.91030.92620.8914NaN
Θ 0.62870.66150.80050.83540.7614NaN
AUROC0.80440.83220.89940.91650.88060.5
(b) Training Set 2
LDACARTC-ELMC-ELMBGRFSVM
T p 294848985087511951205119
T n 415431473648369731570
F p 108111561456611054263
F n 217222133000
φ (%)75.785.7693.1193.9788.2354.57
ρ (%)57.5895.6899.37100100100
ς (%)97.4773.8385.5986.7374.080
F 1 0.72120.880.94020.94760.90260.706
Θ 0.58490.72150.86630.88730.7806NaN
AUROC0.77530.84760.92480.93360.87040.5

Share and Cite

MDPI and ACS Style

Haider Shah, S.W.; Iqbal, K.; Riaz, A.T. Constrained Optimization-Based Extreme Learning Machines with Bagging for Freezing of Gait Detection. Big Data Cogn. Comput. 2018, 2, 31. https://doi.org/10.3390/bdcc2040031

AMA Style

Haider Shah SW, Iqbal K, Riaz AT. Constrained Optimization-Based Extreme Learning Machines with Bagging for Freezing of Gait Detection. Big Data and Cognitive Computing. 2018; 2(4):31. https://doi.org/10.3390/bdcc2040031

Chicago/Turabian Style

Haider Shah, Syed Waqas, Khalid Iqbal, and Ahmad Talal Riaz. 2018. "Constrained Optimization-Based Extreme Learning Machines with Bagging for Freezing of Gait Detection" Big Data and Cognitive Computing 2, no. 4: 31. https://doi.org/10.3390/bdcc2040031

Article Metrics

Back to TopTop