Skip Content
You are currently on the new version of our website. Access the old version .
DiagnosticsDiagnostics
  • Article
  • Open Access

20 June 2020

A Supervised Machine Learning Approach to Detect the On/Off State in Parkinson’s Disease Using Wearable Based Gait Signals

,
,
,
,
,
and
1
Terenz Co., Limited, Busan 48060, Korea
2
Department of Neurology, Samsung Medical Center, School of medicine Sungkyunkwan University, Seoul 06351, Korea
3
Department of Electronics and Communication Engineering, IIT Roorkee 247667, India
4
Department of Respiratory Medicine, Haeundae Paik Hospital, Inje University, Busan 48108, Korea
This article belongs to the Section Machine Learning and Artificial Intelligence in Diagnostics

Abstract

Fluctuations in motor symptoms are mostly observed in Parkinson’s disease (PD) patients. This characteristic is inevitable, and can affect the quality of life of the patients. However, it is difficult to collect precise data on the fluctuation characteristics using self-reported data from PD patients. Therefore, it is necessary to develop a suitable technology that can detect the medication state, also termed the “On”/“Off” state, automatically using wearable devices; at the same time, this could be used in the home environment. Recently, wearable devices, in combination with powerful machine learning techniques, have shown the potential to be effectively used in critical healthcare applications. In this study, an algorithm is proposed that can detect the medication state automatically using wearable gait signals. A combination of features that include statistical features and spatiotemporal gait features are used as inputs to four different classifiers such as random forest, support vector machine, K nearest neighbour, and Naïve Bayes. In total, 20 PD subjects with definite motor fluctuations have been evaluated by comparing the performance of the proposed algorithm in association with the four aforementioned classifiers. It was found that random forest outperformed the other classifiers with an accuracy of 96.72%, a recall of 97.35%, and a precision of 96.92%.

1. Introduction

Parkinson’s disease (PD) is the second most common neurodegenerative disease that presents with motor symptoms such as bradykinesia, tremor, and rigidity. The prognosis of PD is composed of several stages including the honeymoon period, the motor complication stage, and drug-resistant stage. In the honeymoon period, the severity of motor symptoms is uniform/constant throughout the day. However, in the motor complication stage, motor symptoms fluctuate as the effect of medication remains for a small time duration. Therefore, most clinical and research studies focus on recognizing and stabilizing fluctuating motor symptoms in the motor complication stage.
Dopaminergic medication improves motor symptoms in the early stages. However, motor fluctuations appear when the disease progresses [1,2,3]. Motor fluctuation is defined based on the reduction in “On” time and increase in “Off” time in PD patients. The “On” state is defined as the time duration over which the effect of dopaminergic medicine is present in PD patients. In the same context, the “Off” state is defined as the time duration over which the effect of dopaminergic medicine is absent in the patients. The reduced duration of the “On” time generates more Parkinsonism, which has a significant negative impact on the quality of life in PD patients [4,5,6]. Therefore, even though it is essential to evaluate motor fluctuation for the personalized management of PD patients, it is difficult to estimate the fluctuation in the real-world environment due to the short interview time and fluctuating characteristics of the motor symptoms in PD [7,8,9]. Usually, a self-report diary is used to mesaure the fluctuation phenomenon [10]. However, it is difficult to fill up a diary every 1 or 2 h, especially during the “Off” status because of severe Parkinsonism. Additionally, patients with advanced PD could have severe cognitive declination. Therefore, this method is not able to provide accurate times for “On” and “Off” status in advanced PD patients.
Clinically, most patients do not complain about their symptoms in terms of severity. On the contrary, they categorize the symptoms as “On”/“Off”. It is very difficult for patients to express their symptoms as percentage of severity. Thus, they usually report whether they are currently in “On” status or “Off” status. Additionally, unlike appendicular symptoms, including rigidity or bradykinesia, it is not possible to grade the gait symptoms. Therefore, it is very difficult for PD patients to describe their gait symptoms in terms of severity.
A lot of studies in the literature focus on detecting the severity of motor symptoms in PD patients. Comparing the severity of motor symptoms across multiple PD patients and across “On”/“Off” states of a single PD patient, it could be observed that there is a high variability in gait features in the latter case which makes the detection, nonlinear classification and prediction of “On”/“Off” states highly challenging. Thus, the current study aims to detect the “On” and “Off” states in a PD patient using gait features.
With the development of wearable technology, an objective assessment of various Parkinsonian symptoms such as gait disorders, tremors, and bradykinesia was made practically feasible in recent years [11]. Previous studies using the wearable device proved to be effective in detecting gait disorders, tremors, and dyskinesia [12,13]. In this paper, the objective of this research is to develop an assessment system using wearable accelerometer-based sensors which can detect the “On” state and “Off” state of PD patients automatically from the raw accelerometer gait signals collected thorugh the wearable accelerometer-based sensors. This kind of assessment system will play a major role in improving the monitoring process of PD in natural environments. It will also provide information about the time duration of the dopaminergic medication effect on PD patients in natural environments that helps to decrease the cost associated with the tests that are done frequently in clinics.
In recent years, machine learning techniques have been applied to wearable sensor data for detecting different symptoms in PD such as gait disorders, tremors, and mediation states. These techniques are also used for the classification of PD groups from healthy control groups as well as from other neurological diseases based on the extracted features from the wearable sensor data [14,15,16,17,18]. In this research work, we propose an algorithm that can automatically detect the “On” and “Off” state of PD using the wearable accelerometer data. To achieve our objective, we have collected accelerometer data during “On” and “Off” status of PD patients who were recruited at Haeundae Paik Hospital and Samsung Medical Center, Korea. Features extracted from those data have been used to train the machine learning classifiers. Furthermore, these classifiers are used to automatically detect the two different states on the new set of test data. Later, these states were validated based on the report provided by the neurologist. The proposed system will be helpful in monitoring the effect of dopaminergic medicine on PD patients in the home environment.
Previous reports have tried to monitor motor fluctuation in PD patients and provided the possibility of the objective measurement of motor complications in PD. However, studies and methods which present technical validation in controlled environments are difficult to incorporate directly in the clinical field. Keijser et al. [19] tried to investigate the accuracy of ambulatory motor assessment by wearable sensors. They demonstrated that wearable sensors can detect motor dyskinesia with high accuracy using frequency based approach. This report aims to achieve the objective monitoring of motor complications in a real-world environment. However, the participants in this report were asked to perform a specific task which does not imitate a perfect real-world environment. We postulate that the gold standard for a free-living environment is difficult to design, and a frequency-based approach has many pitfalls in terms of accuracy due to various kinds of noise. Therefore, we assume that the machine learning method for data analysis might provide an alternative solution for increasing accuracy in real world environment. In the past decade, the machine learning method has been used to detect other symptoms such as tremors and freezing of gait (FoG) in PD patients with acceptable accuracy. This study is performed in a well-controlled laboratory environment with a specific task. We use the machine learning method for the development of an algorithm for gait analysis during “On”/“Off” states in PD patients. We assume that gait performance is the most crucial attribute associated with quality of life, and therefore, we focus on gait disorders, rather than other Parkinsonian symptoms in PD for monitoring “On”/“Off” states in order to satisfy a clinical need.
The organization of the paper is as follows: Section 2 discusses the previous work related to this research. Section 3 focuses on data collection and methods used for analyzing the data in this research. Section 4 shows the results of the proposed method. Section 5 presents the discussion. Section 6 presents the conclusion of this research work.

3. Materials and Methods

3.1. Study Design and Subjects

This study is a cross-sectional, multicenter, observational study. It was carried out at Haeundae Paik Hospital and Samsung Medical Center, South Korea. This study was approved by the institutional review board of each hospital (No. 2019-05-014 and 2019-05-104 for Haeundae Paik Hospital and Samsung Medical Center, respectively), and all the participants have given their consent to participate in this study. The inclusion criteria of PD patients are as follows; (1) patients diagnosed as PD according to Queen’s bank criteria, (2) patients with definite fluctuation, (3) patients who can walk during the “Off” state and, therefore, can perform the task. The exclusion criteria of PD patients are as follows; (1) patients who cannot walk during “Off” state, and therefore, are unable to perform the task, (2) patients who have a disease affecting gait including orthopedic and other neurological diseases, vestibulopathy, and diabetes, (3) patients who have dementia (Korean mini-mental status exam ≤ 24), (4) patients with a psychiatric problem requiring medications, (5) patients with structural brain lesions including white matter changes (age-related white matter change score ≥ 2 on brain MRI), and (5) patients with orthostatic hypotension. For estimating disease severity, we used the Unified Parkinson’s Disease Rating Scale (UPDRS) part III and Hoehn and Yahr staging in “On” and “Off” states. The demographics of PD patients are shown in Table 2.
Table 2. Demographics of Parkinson’s disease (PD) Patients.

3.2. Data Collection and Experimental Procedure

In this study, the data were collected from 20 different subjects suffering from PD. Table 2 (above) shows details about the height, weight and age of all the subjects who were enrolled in the data collection procedure. Prior written approval was taken from the above subjects before enrolling them in the data extraction procedure. For the data collection, the patients were asked to perform two courses of “Walking”, one in the “On” state (presence of medication effect) and one in the “Off” state (absence of any medication effect). In the “On” state, patients feel fully comfortable due to the dopaminergic effect. In the “Off” state, patients show Parkinsonian symptoms, and feel uncomfortable, without a dopaminergic effect. We performed the task during “On” state after 1–1.5 h of taking dopaminergic medicine. Similarly, we performed the task during “Off” state after at least 12 h of taking dopaminergic medicine. If the symptoms of patients could not reach the “Off” state after 12 h, patients did not take medicine until they felt uncomfortable. During the data extraction procedure for both the courses, the subjects were fastened with two knee-worn tri-axial accelerometer sensors. The tri-axial accelerometer used in this study was small and lightweight, and had a dimension of 35 mm × 35 mm × 13 mm, and weighed a mere 13.7 g. The sensitivity of the accelerometer sensor used in the data collection procedure was from −8 g to 8 g which was sufficient to measure the movement metric of the subject in all the directions: anterior–posterior, mediolateral, and vertical.
In this study, the data were collected from 20 different subjects suffering from PD. Table 2 (above) shows details about the height, weight and age of all the subjects who were enrolled in the data collection procedure. Prior written approval was taken from the above subjects before enrolling them in the data extraction procedure. For the data collection, the patients were asked to perform two courses of “Walking”, one in the “On” state (presence of medication effect) and one in the “Off” state (absence of any medication effect). In the “On” state, patients feel fully comfortable due to the dopaminergic effect. In the “Off” state, patients show Parkinsonian symptoms, and feel uncomfortable, without a dopaminergic effect. We performed the task during “On” state after 1–1.5 h of taking dopaminergic medicine. Similarly, we performed the task during “Off” state after at least 12 h of taking dopaminergic medicine. If the symptoms of patients could not reach the “Off” state after 12 h, patients did not take medicine until they felt uncomfortable. During the data extraction procedure for both the courses, the subjects were fastened with two knee-worn tri-axial accelerometer sensors. The tri-axial accelerometer used in this study was small and lightweight, and had a dimension of 35 mm × 35 mm × 13 mm, and weighed a mere 13.7 g. The sensitivity of the accelerometer sensor used in the data collection procedure was from −8 g to 8 g which was sufficient to measure the movement metric of the subject in all the directions: anterior–posterior, mediolateral, and vertical.
Figure 1 and Figure 2 show the data of Subject 1 for 750 samples of all axes of accelerometer sensors fastened on both the knees and also for both the “Off” and “On” data collection sequence, respectively. As the data is a time series, it is very much required that the stationarity of the dataset needs to be checked. Therefore, the below plots have been generated and, for both the sequences, it can be duly observed that the data maintain proper stationarity with respect to time.
Figure 1. Accelerometer signals of subject 1 for 750 samples during “Off” state.
Figure 2. Accelerometer signals of subject 1 for 750 samples during “On” state.
Figure 3 (below) shows the complete process for the development of the system to detect the “On” and “Off” stages of a patient suffering from PD. The complete flow of the experiment is divided into four different sections, namely the data collection procedure, feature engineering, machine learning model training and validation, and performance evaluation. In the data collection step, the acceleration data from both right and left knee is captured using the wearable sensors, and merged into the database. In the feature engineering step, two different kinds of features are extracted from the accelerometer data, namely statistical features and gait parameters. In the third step, machine learning models are developed by using four different algorithms, namely random forest classifier, support vector machine, k nearest neighbors, and Naïve Bayes classifier. Finally, in the last segment, a qualitative analysis was performed on the predictive power of all four algorithms based on accuracy, precision, recall, and confusion matrix to choose the best classifier for distinguishing the “On” and “Off” states of patients suffering from PD.
Figure 3. Complete process flow of the experiment.
The data collection was performed on 20 subjects each, for two courses. During the data collection procedure, the patients were fastened with wearable devices on both knees, which were used for extracting the accelerometer data. Each course lasted for 3–4 min, approximately. Both the sensors that were used in the study sampled data at the frequency of 32 Hz. The complete data of all the 20 subjects had 237,760 samples for both the “On” and “Off” courses, respectively. Moreover, the data that was received from the accelerometer sensors contained a lot of noise. Therefore, for removing the noise, a fourth-order low pass Butterworth filter was used with a cutoff frequency of 15 Hz. The order of the filter was chosen based on the requirement of blocking the maximum noise, and the cutoff frequency was decided based on exploratory data analysis.

3.3. Feature Engineering

In the feature engineering step, two different sets of features were developed, namely statistical features and gait parameter features. For the calculation of features, data of each course of each patient was initially divided. Furthermore, data from each course were again grouped at the rate of 320 (10 s) samples. The computation process was implemented in such a way that the features were calculated for all the samples of a course for a particular data fold of 320 samples to maintain optimum variance between the feature values.
Table 3 shows all the statistical features that have been used in the study for the detection of the “On” and “Off” states in a patient suffering from PD. The implementation of statistical features in the proposed study provides us with the ability to identify some discriminant features, even if they lack obvious interpretability, but still seem to be important for determining intrinsic patterns for decision making. Table 4 explains some gait parameter features that have been derived from the course data based on the 320-sample data fold.
Table 3. Statistical features.
Table 4. Gait Parameter Based Feature.

3.4. Machine Learning Algorithm and Evaluation Metrics

The development of the machine learning algorithms for the detection of “On” and “Off” states is very important to understand the patterns in the gait data of patients. Moreover, the algorithms leveraged in the work will also allow us to extract the semantic information from the data collected from the tri-axial accelerometer devices. In this work, multiple machine learning algorithms (Scikit-Learn) [32] were developed, and a comparative analysis was performed to determine the best possible algorithm based on the evaluation metrics. The initial hypothesis for the detection of the “On” and “Off” states from the gait data stated that the recall of both the classes must be higher than 85% and the misprediction rate in both the classes must be statistically equivalent. Table 5 shows all the hyperparameters that were used for the development of the machine learning model.
Table 5. State detection: classifiers and specifications.
The hyperparameters that were used for the machine learning model are critical to optimize the cost function and to increase the performance of the model. Therefore, initially, to choose the right set of hyperparameters, multiple iterations were performed by selecting specific hyperparameters using a trial and error technique. However, in the later segment, for the development of the final model for our web application’s production environment, we used a Bayesian Sequential Model-Based Optimization (SMBO) [33] method to choose the hyperparameters. Bayesian SMBO is an algorithm used for hyperparameter optimization that works on minimizing an objective function by creating a surrogate model (probability function) based on the evaluation results of the previous objective function. The basic objective function of the Bayesian SMBO is given by:
P ( s c o r e | h y p e r p a r a m e t e r s ) = P ( h y p e r p a r a m e t e r s   | s c o r e ) P ( s c o r e ) P ( h y p e r p a r a m e t e r s )
The surrogate model that is developed by the Bayesian SMBO is considered to be less expensive when than the main optimizer function [34]. Furthermore, the next set of evaluation results are selected by using the expected improvement criterion [35]. The criterion is defined as:
E I ( x ) = E ( m a x ( f ( x ) f * ,   0 ) ) ,
where x is the set of hyperparameter values and considered to have caused an improvement in the objective score of f(x) and f* is the maximum value of the objective score found in the process.
The basis of the development of all the machine learning algorithms is different, and therefore the feature selection for each machine learning algorithm is an important aspect that needs to be addressed. In the study, a Recursive Feature Elimination was performed on each machine learning algorithm to fetch the best set of features for discriminating between the “Off” class and “On” class. Table 6 shows the features that were used for the development of each machine learning algorithm by keeping the hyperparameters constant, as described in Table 5.
Table 6. Feature selection for all the classifiers.
The evaluation of the machine learning algorithms was carried out by considering accuracy, average recall, average precision, and average f1 score as the evaluation metrics. Accuracy in this particular task is used to understand the overall accuracy in both the “On” state and the “Off” state. In the current scope of the work, the recall is calculated for each class, where it provides information regarding the number of data samples that the model has correctly identified for a particular class. In this study, the average recall has been calculated to determine the average percentage of correct predictions (True Positive and True Negative) in each class. Moreover, the precision of the predictions has been calculated which determines the confidence of a particular prediction to belong to a particular class. Furthermore, for evaluation purposes, average precision was computed, which allowed us to identify the average of all the precision scores for each class. Finally, f1-score was computed, which provides a weighted average between both precision and recall of each class, and therefore penalizes the score for all the wrongly predicted samples of a particular class. Furthermore, during the learning procedure, the complete data of 20 subjects, i.e., 40 courses were divided into the ratio of 70:30 where data from 14 subjects were used for the training and data of six subjects for the validation/testing. As the developed model was used for the production environment, another concern that needs to be addressed is the generalizability of the model for incoming unseen data. Therefore, in this study, a “Leave One Subject Out (LOSO)”-based cross-validation was performed for all the 20 subjects for the best performing classifier to understand the generalizability of the model.

3.5. Web Application for the “On”/“Off” State Detection System

To productionize the machine learning models developed in the study, a web application was designed to detect the “On” and “Off” states. This application was developed using the Dash Framework (Plotly’s Python-based micro Web Framework using Flask as a Server). The application’s pipeline was designed to accommodate the raw data generated from the wearable device. This data is passed through the pre-processing step, and the system’s feature engineering routine. The preprocessing and feature engineering routine instantly clean, process and extract important features. In continuation, the extracted features were passed to the machine learning module, which performed the analysis and presented the predictions for each data segment. Figure 4 shows the web application for the detection of “On” and “Off” states.
Figure 4. State Detection Web Application (https://parkinson-on-off.herokuapp.com/).

4. Results

The machine learning algorithms developed in the work provided some effective results in terms of determining the correct state of a patient suffering from PD. Table 7 provides a comparative analysis between all four machine learning algorithms that were used for the learning process and the evaluation metrics based on the randomized 70:30 split of the whole dataset using the hyperparameters mentioned in Table 5 and the features mentioned in Table 6. It can be observed that the random forest classifier performed the best in terms of classifying the “On” and “Off” states of PD patients. Figure 5 shows the ROC–AUC curve of the random forest classifier. For understanding the generalizability of the random forest classifier, a “Leave One Subject Out (LOSO)”-based cross-validation was performed for all the 20 subjects by keeping the same hyperparameters and features. It was observed that the model demonstrated an optimum generalizability in terms of predicting the data according to multiple test sets. The results are listed in Table 8.
Table 7. Comparative analysis of multiple classifiers.
Figure 5. ROC–AUC of random forest classifier mentioned in Table 7.
Table 8. Confusion catrix values for each subject as tests of best performing classifier (RF).
Figure 6, above, shows the confusion matrix that has been derived using the classification results of the test of the random forest data that has been developed with a training and testing split of 70:30. Moreover, Figure 7 shows the cross-validation confusion matrix of the random forest classifier which was obtained using the LOSO method. The confusion matrix that has been derived from the classification results on the test data and shows full accordance with the initial hypothesis that the number of correct predictions in each class needs to be above 85%—that iss the recall of each class needs to be above 85% and maintain a fixed classification rate across each class.
Figure 6. Confusion matrix of random forest classifier with 70:30 split, where the blue color represent the True Prediction and Green represents the Mispredictions.
Figure 7. Confusion matrix of the cross-validation, where the blue color represent the True Prediction and Green represents the Mispredictions.

5. Discussion

This study developed a framework for detecting the “On” and “Off” states for monitoring PD patients by leveraging the wearable accelerometer data, instead of the conventional method of collecting the data from a patient diary either written by the caregiver or by the patient, which is used by the physicians for regulating medication therapy [35]. A variety of features that were obtained from the accelerometer signals were fed as inputs to differentiate between two different states with a low rate of misclassification. In the past, researchers have used accelerometer signal-based models for quantifying the gait parameters, and those data were used for classifying different motor symptoms such as freezing of gait and shuffling of gait [14,22]. However, the wearable accelerometer signal-based model, including spatiotemporal gait features, has not been studied in detail for detecting medication effects. The spatiotemporal gait features that were quantified based on our earlier study [22], and which are considered in this study, were treated as the most important parameters based on the results of our past study [22], as well as past studies performed by other researchers [36,37,38,39,40]. Four machine learning techniques have been used for classifying the “On” state and the “Off” state. Among them, random forest performed the best, and provided an accuracy of 96.72%. The developed model was validated by the report provided by the neurologist recorded in real time. Our model performance was good, with an average recall of 97.35% and average precision of 96.92%, although we trained our model with a small number of data. This above observation laid out a strong recommendation that the developed model could be a candidate to be used in home environments for detecting the “On” and “Off” states.
In this research, we have investigated the feasibility of using wearable accelerometers in both the knees for the classification of “On” and “Off” states. Although past studies cited that the placement of the sensor has a huge role to play in the performance of the results, in this study, we placed the sensor at the knee because our past research on detecting “FoG” [22] was successful when using knee-based signals.
There have been studies that have tried to monitor motor complications in PD [1,2,3]. Despite these innovatory studies, a wearable sensor for motor complications has not yet been applied in the clinical field due to a lack of acceptable clinical validation. Most studies use a frequency-based approach from the accelerometer, and therefore there may be technical bias in reflecting real-world environments. Parkinsonian symptoms vary between individuals and show inconsistent clinical presentations. The machine learning techniques have been emerging in recent years, and they provide the possibility of overcoming this limitation. Moreover, we postulated that the specification of Parkinsonian symptoms such as tremors, gait disorder, and bradykinesia is necessary to increase the accuracy. Our study is the first step in developing an algorithm for discriminating gait symptoms in “On”/“Off” states using a machine learning technique based on the data collected through a wearable sensor. We assume that our algorithm could be a potential candidate as a clinical monitoring tool to assess free-living environments.
The novelties of this study are as follows. (1) This is the first study that used statistical features and spatiotemporal gait features for the classification of “On” and “Off” states. (2) This is the first study that used knee-based wearable acceleration signals for detecting “On” and “Off” states. (3) This is the first study in which a robust machine learning model has been developed using the raw accelerometer signals for classifying “On” and “Off” states. (4) This study also contained a web application in which the complete process could be experienced, starting from the input of the data to the data distribution, and resulting in a single web page within a few seconds.
Our study has been compared with various state-of-the-art models that used wearable accelerometer signals for differentiating “FoG” from “no FoG”, shuffling of gait from no shuffling of gait, PD group from healthy group, mediation state (“On” and “Off”), and PD and other neurological diseases. The developed system in this study was found to outperform all the previous studies that use PD-related classification. A comparative performance analysis of these studies is shown in Table 9.
Table 9. A comparison of our results with state-of-the-art models’ work for activity detection.
Moreover, for analyzing the performance of the model for productionizing it in a clinical setting, the review of Type I (false negatives: the person is in the “On” stage but the model predicted it as “Off”) and Type II (false positives: the person is in the “Off” stage but the model predicted it as “On”) errors are of paramount importance. Normally, in trivial machine learning projects, a certain type of error can be rejected during the hypothesis testing. However, in the present study, both the errors are of paramount importance because of the following cases:
  • If the patient is in the “On” state but the model predicts it as the “Off” state (Type I error), then the doctor might conclude that the patient is in the “Off” state and his gait paramters are fine, and it might result in wrongly reducing the medicinal dosage.
  • If the patient is in the “Off” state but the model predicts it as the “On” state (Type II error), then the doctor might conclude that the patients is in the “On” state and his gait parameters are still very low, and it might result in wrongly increasing the medicinal dosage.
Therefore, both the errors (Type I and II) must be considered when analyzing the models. Moreover, concerning the model developed in the present study and the results depicted in Table 8 and Figure 6, respectively, it can be found that the error rates are low. We can observe in each sample depicted in Table 8 and Figure 6, accounting for 10 s of data, i.e., 320 samples, that the mispredictions for the “On” data cycle occur in the very beginning of the acquired data samples. For the “Off” data cycle, it occurs at the middle of or in between the processes. Therefore, for the “On” state, it can be considered that the first 10–15 s is typically a heads up time where the subject gears up for the process. For the “Off” state, mispredictions are typically in the samples acquired halfway into the process, which means that the subject becomes stable (High Gait Values) after conducting the exercise for some time, but gets tired at the end. However, the specificity, sensitivity (recall), precision (positive predicted value) and diagnostic odds ratio (DOR) are considered to be the major metrics to determine the reliability of a clinical software system. Therefore, based on the confusion matrix depicted in Figure 6, it was found that the specificity of the system is 0.96, the sensitivity is 0.982, PPV is 0.972 and the DOR is 1027. Looking at the aforementioned results, it can be duly observed that the system developed in the work is very much reliable for its implementation in clinical settings. However, as a limitation of the work, it also must be noted that only the gait parameters are not sufficient for the detection of “On” and “Off” states in Parkinson’s disease.

6. Conclusions

In this study, the detection of “On” and “Off” states based on gait signals and using a wearable accelerometer were proposed, and machine learning-based techniques have been used to automate the classification of two states using the wearable accelerometer signals. The methodology proposed in this research signifies the efficacies of using wearable accelerometer-based data in combination with machine learning techniques for the auto-detection of different medication states in PD. The algorithm that was developed in this study used the data of 20 subjects suffering from PD. The developed algorithm was able to detect the “On” and “Off” states, and was also validated by the report of the neurologist. This research contained a unique combination of statistical features and gait features that are fed as inputs to the machine learning classifiers. Among the four machine learning techniques used in this study, random forest outweighs all the other classifiers, detecting the two states with an accuracy of 96.72%, recall of 97.35%, and precision of 96.92%. Some of the new findings observed in this study are as follows: (1) only accelerometer signals were able to detect the medication state in combination with machine learning techniques. (2) The knee-based placement of wearable devices mentioned in this research was able to perform better compared to the combination of wrist- and ankle-based wearable sensors [42]. This study has the following limitations: (1) all data were obtained using a wearable accelerometer while the subject was performing tasks only in the laboratory environment. (2) This study is mainly intended for detecting the “On” and “Off” states, and is not intended to assess other motor symptoms such as “FoG” and shuffling of gait.
Possible directions for future work include the development of a more robust model with more data. The performance of the model in the home environment is yet to be verified. From the current observations mentioned in this study, it is recommended that the developed algorithm could perform well in home environments in real-life situations.

Author Contributions

Conceptualization, S.A., J.Y., and J.-h.P.; methodology, S.A., S.C., and P.M.P.; validation, S.A., J.Y., and J.-h.P.; formal analysis, S.A., S.C., P.M.P. and S.P.; data curation, S.A., S.C., P.M.P. and S.P.; writing—original draft preparation, S.A. and S.C.; writing—review and editing, S.A., S.C., and J.-h.P.; supervision, J.Y., and J.-h.P.; project administration, J.-h.P. and J.P.; funding acquisition, J.-h.P. and J.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Research Foundation (NRF) of Korea grant funded by the Korea government (MSIT) (Grant number 2019R1C1C1011197).

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Magrinelli, F.; Picelli, A.; Tocco, P.; Federico, A.; Roncari, L.; Smania, N.; Zanette, G.; Tamburin, S. Pathophysiology of motor dysfunction in Parkinson’s disease as the rationale for drug treatment and rehabilitation. Parkinson’s Dis. 2016, 2016. [Google Scholar] [CrossRef] [PubMed]
  2. Tugwell, C. Parkinson’s Disease in Focus; Pharmaceutical Press: London, UK, 2008; p. 237. [Google Scholar]
  3. Lonini, L.; Dai, A.; Shawen, N.; Simuni, T.; Poon, C.; Shimanovich, L.; Daeschler, M.; Ghaffari, R.; Rogers, J.A.; Jayaraman, A. Wearable sensors for Parkinson’s disease: Which data are worth collecting for training symptom detection models. NPJ Digit. Med. 2018, 1, 1–8. [Google Scholar] [CrossRef] [PubMed]
  4. Titova, N.; Martinez-Martin, P.; Katunina, E.; Chaudhuri, K.R. Advanced Parkinson’s or “complex phase” Parkinson’s disease? Re-evaluation is needed. J. Neural Transm. 2017, 124, 1529–1537. [Google Scholar] [CrossRef] [PubMed]
  5. Ouma, S.; Fukae, J.; Fujioka, S.; Yamamoto, S.; Hatano, T.; Yoritaka, A.; Okuma, Y.; Kashihara, K.I.; Hattori, N.; Tsuboi, Y. The Risk Factors for the Wearing-off Phenomenon in Parkinson’s Disease in Japan: A Cross-sectional, Multicenter Study. Intern. Med. 2017, 56, 1961–1966. [Google Scholar] [CrossRef] [PubMed][Green Version]
  6. Kovosi, S.; Freeman, M. Administering medications for Parkinson disease on time. Nursing2019 2011, 41, 66. [Google Scholar] [CrossRef]
  7. Freitas, M.E.; Hess, C.W.; Fox, S.H. Motor complications of dopaminergic medications in Parkinson’s disease. In Seminars in Neurology; Thieme Medical Publishers: New York, NY, USA, 2017; Volume 37, pp. 147–157. [Google Scholar]
  8. Xie, C.L.; Wang, W.W.; Zhang, S.F.; Gan, J.; Liu, Z.G. Continuous dopaminergic stimulation (CDS)-based treatment in Parkinson’s disease patients with motor complications: A systematic review and meta-analysis. Sci. Rep. 2014, 4, 6027. [Google Scholar] [CrossRef]
  9. Pistacchi, M.; Gioulis, M.; Sanson, F.; Marsala, S.Z. Wearing off: A complex phenomenon often poorly recognized in Parkinson’s disease. A study with the WOQ-19 questionnaire. Neurol. India 2017, 65, 1271. [Google Scholar] [CrossRef]
  10. Mantese, C.E.; Schumacher-Schuh, A.; Rieder, C.R. Clinimetrics of the 9-and 19-Item Wearing-Off Questionnaire: A systematic review. Parkinson’s Dis. 2018, 2018. [Google Scholar] [CrossRef]
  11. Ossig, C.; Antonini, A.; Buhmann, C.; Classen, J.; Csoti, I.; Falkenburger, B.; Schwarz, M.; Winkler, J.; Storch, A. Wearable sensor-based objective assessment of motor symptoms in Parkinson’s disease. J. Neural Transm. 2016, 123, 57–64. [Google Scholar] [CrossRef]
  12. Beck, Y.; Herman, T.; Brozgol, M.; Giladi, N.; Mirelman, A.; Hausdorff, J.M. SPARC: A new approach to quantifying gait smoothness in patients with Parkinson’s disease. J. Neuroeng. Rehabil. 2018, 15, 49. [Google Scholar] [CrossRef]
  13. Hssayeni, M.D.; Jimenez-Shahed, J.; Burack, M.A.; Ghoraani, B. Wearable Sensors for Estimation of Parkinsonian Tremor Severity during Free Body Movements. Sensors 2019, 19, 4215. [Google Scholar] [CrossRef] [PubMed]
  14. Aich, S.; Pradhan, P.M.; Park, J.; Kim, H.C. A machine learning approach to distinguish Parkinson’s disease (PD) patient’s with shuffling gait from older adults based on gait signals using 3D motion analysis. Int. J. Eng. Technol. 2018, 7, 153–156. [Google Scholar] [CrossRef]
  15. Aich, S.; Joo, M.I.; Kim, H.C.; Park, J. Improvisation of classification performance based on feature optimization for differentiation of Parkinson’s disease from other neurological diseases using gait characteristics. Int. J. Electr. Comput. Eng. 2019, 9. [Google Scholar] [CrossRef]
  16. Aich, S.; Choi, K.W.; Pradhan, P.M.; Park, J.; Kim, H.C. A Performance Comparison Based on Machine Learning Approaches to Distinguish Parkinson’s Disease from Alzheimer Disease Using Spatiotemporal Gait signals. Adv. Sci. Lett. 2018, 24, 2058–2062. [Google Scholar] [CrossRef]
  17. Khodakarami, H.; Ricciardi, L.; Contarino, M.F.; Pahwa, R.; Lyons, K.E.; Geraedts, V.J.; Morgante, F.; Leake, A.; Paviour, D.; De Angelis, A.; et al. Prediction of the Levodopa Challenge Test in Parkinson’s Disease Using Data from a Wrist-Worn Sensor. Sensors 2019, 19, 5153. [Google Scholar] [CrossRef] [PubMed]
  18. Rehman, R.Z.U.; Del Din, S.; Shi, J.Q.; Galna, B.; Lord, S.; Yarnall, A.J.; Guan, Y.; Rochester, L. Comparison of Walking Protocols and Gait Assessment Systems for Machine Learning-Based Classification of Parkinson’s Disease. Sensors 2019, 19, 5363. [Google Scholar] [CrossRef]
  19. Keijsers, N.L.; Horstink, M.W.; Gielen, S.C. Ambulatory motor assessment in Parkinson’s disease. Mov. Disord. Off. J. Mov. Disord. Soc. 2006, 21, 34–44. [Google Scholar] [CrossRef]
  20. Jeon, H.; Lee, W.; Park, H.; Lee, H.J.; Kim, S.K.; Kim, H.B.; Jeon, B.; Park, K.S. Automatic classification of tremor severity in Parkinson’s disease using a wearable device. Sensors 2017, 17, 2067. [Google Scholar] [CrossRef]
  21. Samà, A.; Pérez-López, C.; Rodríguez-Martín, D.; Català, A.; Moreno-Aróstegui, J.M.; Cabestany, J.; de Mingo, E.; Rodríguez-Molinero, A. Estimating bradykinesia severity in Parkinson’s disease by analysing gait through a waist-worn sensor. Comput. Biol. Med. 2017, 84, 114–123. [Google Scholar]
  22. Aich, S.; Pradhan, P.M.; Park, J.; Sethi, N.; Vathsa, V.S.S.; Kim, H.C. A validation study of freezing of gait (FoG) detection and machine-learning-based FoG prediction using estimated gait characteristics with a wearable accelerometer. Sensors 2018, 18, 3287. [Google Scholar] [CrossRef]
  23. Steinmetzer, T.; Maasch, M.; Bönninger, I.; Travieso, C.M. Analysis and Classification of Motor Dysfunctions in Arm Swing in Parkinson’s Disease. Electronics 2019, 8, 1471. [Google Scholar] [CrossRef]
  24. Naghavi, N.; Miller, A.; Wade, E. Towards Real-Time Prediction of Freezing of Gait in Patients With Parkinson’s Disease: Addressing the Class Imbalance Problem. Sensors 2019, 19, 3898. [Google Scholar] [CrossRef] [PubMed]
  25. Baraka, A.; Shaban, H.; Abou El-Nasr, M.; Attallah, O. Wearable Accelerometer and sEMG-Based Upper Limb BSN for Tele-Rehabilitation. Appl. Sci. 2019, 9, 2795. [Google Scholar] [CrossRef]
  26. De Vos, M.; Prince, J.; Buchanan, T.; FitzGerald, J.J.; Antoniades, C.A. Discriminating progressive supranuclear palsy from Parkinson’s disease using wearable technology and machine learning. Gait Posture 2020, 77, 257–263. [Google Scholar] [CrossRef]
  27. Ashour, A.S.; El-Attar, A.; Dey, N.; El-Kader, H.A.; El-Naby, M.M.A. Long short term memory based patient-dependent model for FOG detection in Parkinson’s disease. Pattern Recognit. Lett. 2020, 131, 23–29. [Google Scholar] [CrossRef]
  28. Senturk, Z.K. Early diagnosis of Parkinson’s disease using machine learning algorithms. Med Hypotheses 2020, 138, 109603. [Google Scholar] [CrossRef]
  29. Patel, S.; Lorincz, K.; Hughes, R.; Huggins, N.; Growdon, J.; Standaert, D.; Akay, M.; Dy, J.; Welsh, M.; Bonato, P. Monitoring motor fluctuations in patients with Parkinson’s disease using wearable sensors. IEEE Trans. Inf. Technol. Biomed. 2009, 13, 864–873. [Google Scholar] [CrossRef]
  30. Hoff, J.I.; Van Der Meer, V.; Van Hilten, J.J. Accuracy of objective ambulatory accelerometry in detecting motor complications in patients with Parkinson disease. Clin. Neuropharmacol. 2004, 27, 53–57. [Google Scholar] [CrossRef]
  31. Rodríguez-Molinero, A.; Samà, A.; Pérez-Martínez, D.A.; López, C.P.; Romagosa, J.; Bayés, À.; Sanz, P.; Calopa, M.; Gálvez-Barrón, C.; de Mingo, E.; et al. Validation of a portable device for mapping motor and gait disturbances in Parkinson’s disease. JMIR Mhealth Uhealth 2015, 3, e9. [Google Scholar]
  32. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  33. Frazier, P.I. A Tutorial on Bayesian Optimization. 2018. Available online: https://arxiv.org/abs/1807.02811 (accessed on 25 April 2020).
  34. Osborne, M.A. Bayesian Gaussian Processes for Sequential Prediction, Optimisation and Quadrature. Ph.D. Thesis, Oxford University, Oxford, UK, 2010. [Google Scholar]
  35. Rovini, E.; Maremmani, C.; Cavallo, F. How wearable sensors can support Parkinson’s disease diagnosis and treatment: A systematic review. Front. Neurosci. 2017, 11, 555. [Google Scholar] [CrossRef] [PubMed]
  36. Hollman, J.H.; McDade, E.M.; Petersen, R.C. Normative spatiotemporal gait parameters in older adults. Gait Posture 2011, 34, 111–118. [Google Scholar] [CrossRef] [PubMed]
  37. Azevedo Coste, C.; Sijobert, B.; Pissard-Gibollet, R.; Pasquier, M.; Espiau, B.; Geny, C. Detection of freezing of gait in Parkinson disease: Preliminary results. Sensors 2014, 14, 6819–6827. [Google Scholar] [CrossRef] [PubMed]
  38. Alcock, L.; Galna, B.; Perkins, R.; Lord, S.; Rochester, L. Step length determines minimum toe clearance in older adults and people with Parkinson’s disease. J. Biomech. 2018, 71, 30–36. [Google Scholar] [CrossRef]
  39. Schlachetzki, J.C.; Barth, J.; Marxreiter, F.; Gossler, J.; Kohl, Z.; Reinfelder, S.; Gassner, H.; Aminian, K.; Eskofier, B.M.; Winkler, J.; et al. Wearable sensors objectively measure gait parameters in Parkinson’s disease. PLoS ONE 2017, 12. [Google Scholar] [CrossRef]
  40. Del Din, S.; Godfrey, A.; Rochester, L. Validation of an accelerometer to quantify a comprehensive battery of gait characteristics in healthy older adults and Parkinson’s disease: Toward clinical and at home use. IEEE J. Biomed. Health Inform. 2015, 20, 838–847. [Google Scholar] [CrossRef]
  41. Aich, S.; Pradhan, P.M.; Chakraborty, S.; Kim, H.C.; Kim, H.T.; Lee, H.G.; Kim, I.H.; Joo, M.I.; Jong Seong, S.; Park, J. Design of a Machine Learning-Assisted Wearable Accelerometer-Based Automated System for Studying the Effect of Dopaminergic Medicine on Gait Characteristics of Parkinson’s Patients. J. Healthc. Eng. 2020, 2020. [Google Scholar] [CrossRef]
  42. Hssayeni, M.D.; Burack, M.A.; Jimenez-Shahed, J.; Ghoraani, B. Assessment of response to medication in individuals with Parkinson’s disease. Med. Eng. Phys. 2019, 67, 33–43. [Google Scholar] [CrossRef]

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.