Skip to main content

Machine learning classification of multiple sclerosis patients based on raw data from an instrumented walkway

Abstract

Background

Using embedded sensors, instrumented walkways provide clinicians with important information regarding gait disturbances. However, because raw data are summarized into standard gait variables, there may be some salient features and patterns that are ignored. Multiple sclerosis (MS) is an inflammatory neurodegenerative disease which predominantly impacts young to middle-aged adults. People with MS may experience varying degrees of gait impairments, making it a reasonable model to test contemporary machine leaning algorithms. In this study, we employ machine learning techniques applied to raw walkway data to discern MS patients from healthy controls. We achieve this goal by constructing a range of new features which supplement standard parameters to improve machine learning model performance.

Results

Eleven variables from the standard gait feature set achieved the highest accuracy of 81%, precision of 95%, recall of 81%, and F1-score of 87%, using support vector machine (SVM). The inclusion of the novel features (toe direction, hull area, base of support area, foot length, foot width and foot area) increased classification accuracy by 7%, recall by 9%, and F1-score by 6%.

Conclusions

The use of an instrumented walkway can generate rich data that is generally unseen by clinicians and researchers. Machine learning applied to standard gait variables can discern MS patients from healthy controls with excellent accuracy. Noteworthy, classifications are made stronger by including novel gait features (toe direction, hull area, base of support area, foot length and foot area).

Background

Multiple sclerosis (MS) is a common inflammatory neurodegenerative disease [1] with a prevalence of 1:400 (90,000) in Canada [2]. MS symptoms, which include slower information processing, walking impairment and feelings of mental fatigue, profoundly impact a patient’s quality of life [3].

MS-related gait disorders, including spasticity, leg weakness, foot drop and ataxia, disrupt everyday tasks [4,5,6] and present differently from person-to-person likely because of unique central nervous system lesions and neural reorganization [1, 7]. Most studies examining gait changes in MS focus on reductionist methods, which report output variables such as walking velocity or distance walked.

Newer technologies and analysis techniques provide expanded opportunities to map the unique gait patterns within and between individuals. Such innovations help detect changes early, which may direct rehabilitation interventions to improve walking [8, 9]. For example, using image-processing techniques [10] and wearable sensors, users can create movement-related features such as standing and sitting accelerations, rotation velocity of turning and inclination degrees of the trunk in a three-dimensional coordinate system [11, 12] to detect dynamic balance and the risk of falling [13]. In most cases these methods require specialized equipment not readily available to clinicians such as inertial measurement units and electromyograms.

A standard gait analysis system employed in clinical settings involves the use of an instrumented walkway containing a dense matrix of embedded sensors to capture temporal, spatial and force-related gait data from footsteps. Depending on the subject and the length of the mat, one pass across the walkway captures 4 to 10 footsteps and can generate thousands of individual raw sensor data points. Walkway systems often use secondary software packages to transform the raw sensor data into a standard set of output variables (speed, step length, etc.) which may be useful for clinicians [14, 15]. However, by interrogating the raw data directly, subtle changes to gait patterns could reveal signs of disease progression or improvement [16]. Data-driven techniques such as machine learning classification make it possible to analyze specific gait features and their relationships with one another. For instance, Chen et al. in 2020 employed machine learning to gait variables extracted from walking and jumping tests to classify patients with mild cognitive impairment [17]. Furthermore, data gathered from vertical ground reaction force sensors provided algorithms that detected early signs of Parkinson’s disease [18]. In the field of MS, there is a study using machine learning techniques to detect which gait parameters were most sensitive to subtle changes in gait [19]. However, this study and those described above, used the predetermined, and rather limited, gait variables available in conventional proprietary software, meaning clinicians have to interpret what they need from the data.

Creating novel gait variables from raw walkway data may further increase detection accuracy, thereby specifically pinpointing the gait characteristics requiring clinical attention. This may result in more tailored, individualized, and effective rehabilitation strategies for gait training.

The purpose of this study was to employ machine learning technology, in combination with raw data obtained from an electronic walkway (Protokinetics Havertown PA), to classify subjects as an MS patient or a healthy control. We achieved this in two series of analysis using a standard set and an expanded set of features, respectively; the expanded feature set included several new or underutilized parameters derived from the raw data, including toe direction, hull area, base of support area, foot length and foot area.

We hypothesized that machine learning models can effectively distinguish MS patients from the healthy control group using only standard features, and those novel features would further improve the detection accuracy. To the best of our knowledge, this study is the first attempt to distinguish MS patients from healthy controls using machine learning of raw walkway sensor data. Such methodologies could have important implications for detecting subtle gait changes indicative of worsening or improvement of neurological impairment automatically and accurately.

Results

Our study compares the classification metrics of two distinct feature sets when separating MS patients from healthy controls using only gait-related spatial and temporal data. Gait parameters for each feature set were calculated from the raw data provided from an instrumented walkway in a clinical setting.

The first set has been defined as the standard set and contains a collection of gait-related parameters similar to those involved in regular gait studies. This set was initialized with 11 standard parameters, which were optimized into a final set of 10 parameters for machine learning testing and training (see Table 1).

Table 1 Initial and final features for each feature set after feature selection

The second feature set, defined as the augmented set, contains the same initialization as the standard set, plus additional new parameters that were derived from the raw walkway data (see Method section for details). The classification value of these additional parameters has not been well documented in the literature, and it is likely that some are novel to the field. We began with an initial set of 18 parameters in the augmented set, which was optimized to a final set of 15 features for machine learning. Table 1 outlines the initial and optimal features selected for machine learning in each set.

Three classification algorithms, Logistic Regression (LR), XGBoost (XGB), and Support Vector Machine (SVM), were evaluated on both feature sets. For each feature set, the accuracy, precision, recall, and F1 scores were calculated to analyze the predictive ability of each machine learning model. Figure 1 shows the classification metrics of the standard set (black) and the augmented set (grey) for the three classification algorithms, respectively.

Fig. 1
figure 1

Accuracy, precision, recall and F1 score for each model. The black bars represent the standard set, while the grey bars represent the results for the augmented set

The results outlined above show that by just using the standard set, we achieved accuracy of 81% (SVM), precision of 95% (SVM and LR), recall of 81% (SVM) and F1-score of 87% (SVM). The results also indicate a varying level of ability among the three machine learning models that were tested, with SVM providing the highest overall scores.

Worth noting are the improvements measured across all metrics when using the augmented set. This inclusion of novel features increased accuracy by 7%, recall by 9%, and F1 score of 6% from both XGB and SVM models. Notice that precision has not been improved due to the imbalanced data in the testing data set (see Table 9 for the definition of precision), where the number of false positives was relatively small compared to that of true positives.

In addition to the scoring metrics, the area underneath the precision-recall (AUPRC) and area underneath the receiver operating characteristic (AUROC) curves were also used for determining the overall effectiveness of a classifier. Figures 2 and 3 summarize the results from these three models.

Fig. 2
figure 2

PRC curves for LR, XGB and SVM. AP refers to the area underneath the precision-recall (AUPRC)

Fig. 3
figure 3

ROC curves for LR, XGB and SVM. AUC refers to the area underneath the precision-recall (AUPRC)

When studying the standard feature set, we achieved our best baseline of AUROC at 0.88 (XGB), and baseline of AUPRC at 0.89 (SVM). Low variance was measured between all classifiers on these scoring metrics, resulting in similar scores for all models.

The AUPRC and AUROC scoring metrics were compared for the augmented feature set as well. When using the augmented set, AUROC of LR and XGB was not improved, however, the AUROC increased when using SVM and AUPRC of all models were improved.

Discussion

Our hypothesis was supported by the results that machine learning classifiers using raw walkway data can distinguish between persons having MS-related gait dysfunction and healthy controls. Using only the gait features extracted from the raw walkway data, the machine learning classifiers were capable of separating MS patient and control groups with an accuracy of 81%. When novel features, foot length, foot area, hull area, and BOS area were added to the dataset, the classifiers gained roughly a 7% increase in accuracy. These results demonstrate that machine learning models trained on new features from raw walkway data can more effectively separate patient and control targets and could potentially be served as an alternative method for identifying gait abnormalities in MS.

The results obtained from these experiments are notable for several reasons. Firstly, classification with high accuracy was possible using only data gathered from an instrumented walkway system [14, 15]. At present, clinicians, and patients use a wide variety of walking tests (Timed 25 Foot Walk Test, Six-Minute Walk Test, Dynamic Gait Index, 12-Item Walking scale, and others) to identify gait problems [20,21,22]. The machine learning process described in this paper may be useful to automatically distinguish gait problems. Future work is needed to examine performance of the classifier in longitudinal studies of gait. It is also important to determine whether the tool could be used to detect very subtle changes not easily observed by assessors.

Secondly, there is a wealth of information residing in the raw gait data that clinicians may not be taking full advantage of. Previous studies focused on the analysis of the predetermined features provided by the conventional software [19]. In contrast, the present study has shown that it is possible to design and develop new measurements of gait from raw walkway data (toe direction, hull area, BOS area, foot length and foot area). As for BOS area, this gait variable has been previously used to distinguish MS patients from healthy controls [23], however, the current project is the first to use BOS area as a feature for machine learning classification. In addition, these new measurements can provide a significant improvement in classification accuracy. Furthermore, these novel and hidden gait features may have utility as indicators of gait-related impairment that may be useful to clinicians for treatment, or to researchers who study ways to detect or delay disease progression.

Thirdly, classification based solely on gait analysis may not be restricted to impairment in MS. Gait impairment is an unfortunate side effect of many neurological diseases such as Parkinson’s disease and stroke [24,25,26]. This machine learning structure may be applicable in other fields of study as a relatively fast and reliable method of identifying a range of gait-related impairments. However, this study did not examine the model’s ability to distinguish patients with MS from patients with other neurological disorders such as mild cognitive impairment. Future studies could test whether the model could discern between patient groups.

The results gathered in this stage of the study are promising for the identification of subjects with gait-related dysfunction. Several improvements have been identified for future study which may further increase the usefulness of the results for gait researchers and clinicians.

The first of these involves the pre-screening of patients based on the Multiple Sclerosis Impact Scale (MSIS-29) intake survey [27, 28]. This study included only those patients who reported moderate-to-high scores (> 3 indicating moderate to severe walking problems) on the MSIS-29. Future studies could include patients who report lower scores (1 and 2) on the MSIS-29 to possibly classify patients that show milder forms of gait dysfunction.

The second improvement would involve layering kinematic data (i.e., joint angles) on top of the temporal and spatial data available from the walkway systems. This would enrich the dataset and would likely prove useful in boosting classification accuracy even further. For instance, machine learning could be useful to map changes in specific types of gait impairment such as hemiplegia or ataxia, over time.

Finally, the machine learning models would be better served with a larger dataset. Previous larger studies have proven that machine learning technology combined with gait measurements could effectively distinguish patients at cognitive impairment levels [17]. Coordinating efforts between multiple laboratories and research hospitals could result in a dataset of thousands of patients, allowing the machine learning models to train on a much richer set of underlying data and provide stronger conclusions.

Conclusions

This paper demonstrates how machine learning can be used to classify healthy controls from persons with neurological gait impairment due to MS using only raw data collected from an instrumented walkway system. Advances in computerized machine learning and classification can easily handle the complicated underlying sensor data and make it possible for researchers to detect gait issues automatically and rapidly.

This paper has chosen to study gait by an examination of the raw underlying data. This allowed for the reconstruction of the standard gait parameters, but also for the development of new features, such as BOS area, LOP deviation angle, hull area and toe direction, for gait study. These parameters were then given to machine learning classifiers to determine the separability of MS patients and healthy controls based on gait.

The machine learning system discussed in this paper has achieved a base classification accuracy of 81% using only standard spatial and temporal gait parameters derived from the raw data. When these standard parameters were augmented with other custom parameters and normalized subject characteristics, the classification accuracy of SVM was improved to 88%. This result demonstrates that analyzing the raw gait data is a worthwhile exercise in increasing the classification accuracy of patients/healthy controls.

Methods

Participants and experimental protocol

Data were collected as part of the Health Innovation Team in MS (HITMS) project, a longitudinal study of the health of people with MS in Newfoundland & Labrador, Canada [29, 30]. The study was approved by the institutional health research ethics board (HREB # 2015.103). We extracted all walkway data from participants who attended between 2016 and 2019 (n = 126). Each patient had at least one visit and was able to walk with or without a walking assistive device [31]. Controls were required to have no walking impairments.

We then gathered demographic data for all participants (age, height, and weight). People with MS had a confirmed diagnosis by an MS neurologist who scored disease severity using the Expanded Disease Severity Scale (EDSS) [32]. The EDSS ranges from 0 to 10; 0 having no symptoms, 6 using a gait aid and 10 means death due to MS. The patients had EDSS scores from 0 (no observable gait dysfunction) to EDSS 6.5 (requires bilateral walking aids, can walk at least 20 m). The average EDSS score of all patients was 2.11 ± 1.89. At the visit, all patients completed the MSIS-29 before completing the walking tests. The MSIS-29 is a standardized self-evaluation form that requires patients to rank the impact of MS symptoms from 1 (no impact) to 5 (extreme) across various physical and psychological questions [28].

We selected a subset of MSIS-29 questions related to gait dysfunction and included only those patients with a score of 3 or higher (mild to moderate) for at least one question. 35 patients were excluded at this step. The average EDSS score for the remaining patients was 2.74 ± 2.06. Control participants were not required to complete the MSIS-29 questionnaire. The final dataset included 72 patients and gait data from 16 healthy controls. Table 2 shows the patients’ demographic and MSIS-29 information.

Table 2 Patient demographic and MSIS-29 information

Patients and healthy controls walked at a comfortable pace across the instrumented walkway (Zeno Walkway, Protokinetics Haverton PA) measuring 90 × 420 cm, containing a matrix of embedded sensors with a spatial resolution of 1.27 cm and a resolution accuracy of ± 1.27 cm. Spatial measurements are provided as the (x,y) positions of activated sensors, which are converted to distances measured in cm. Time stamps recorded when each sensor was activated, measured in seconds.

Data analysis and feature extraction

Deriving footprints from raw sensor data

The raw data from the walkway provides the time, X-coordinate, Y-coordinate, pressure level, foot type, foot count, footfall, and Pass Index for each sensor. We focused our analysis on two spectrums: time and location. If a sensor was detected multiple times at varying pressure intensity, only the time stamp for maximum pressure was selected. This temporospatial data collected allowed reconstruction of each pass across the walkway.

The raw spatial information was partitioned into left and right footfalls using a K-Means clustering [33] for each gait recording. The unsupervised clustering algorithm separated the n spatial coordinates into k individual footfalls, where each observation belongs to the cluster with the nearest centroid.

For each footprint cluster, a quadrilateral was generated which enclosed the shape of the foot. This quadrilateral was then subdivided into three regions with individual sub-centroids, which provided further detail on the heel, mid, and fore sensors of the footprint. Figure 4 demonstrates how a footprint is segmented.

Fig. 4
figure 4

Footprint segmentation. Footprint showing heel (red), mid (blue), and fore (green) sections, as well as centerline of the foot (yellow) and the segmented quadrilateral enclosing the shape

Standard gait features

After identifying the unique footfalls from the gait recording, an analysis was performed on each footfall, and standard gait parameters were extracted. These included step/stride length and width; toe in/out; step/stride time and velocity; single/double support time; and stance time.

Dimensions of foot length, width, and area are rarely documented as features in gait-related classification studies. Since these features were present in our data set, we included them to examine whether they could affect classification accuracy. The details regarding each parameter can be found in Table 3.

Table 3 Detail description for each standard gait parameter

New feature design

New parameters were designed and calculated from the walkway data (Fig. 5 and Table 4). As far as we are aware these features have not yet been rigorously tested in a patient/controls classification setting.

Fig. 5
figure 5

A The light pink shaded region shows the hull area for a single footfall. B The light pink shaded region shows the BOS area between two successive footfalls. C The light green line represents the normal (desired) line of progression, the red line represents the actual line of progression between two consecutive footfalls of the same foot. The angle between the desired and actual lines is the line of progression deviation angle

Table 4 Detailed descriptions of newly designed features

Feature sets design for classification

Two feature sets, namely the standard feature set and the augmented feature set, were designed for the classification task. The standard set included the step time, stride time, step velocity, stride velocity, single support time, double support time, stance time, foot type, toe angle signed, step length, step width, stride length, stride width, and base width.

The augmented set included all the features from the standard set, as well as additional parameters of foot length, foot width, foot area, hull area, LOP deviation angle, BOS area, toe angle, and toe direction.

Machine learning process

Data balancing

With a patient-to-control ratio of approximately 6:1, we performed balancing on the target classes before proceeding with classification analysis [34]. The training data set were balanced using a synthetic minority oversampling technique (SMOTE). SMOTE synthesizes a new sample by randomly choosing a data point from a line segment in the feature space, formed by a minority class sample m and one of m’s k-nearest neighbors (usually k = 5, both randomly chosen); then this process is repeated till the two classes’ data are balanced [35].

Data normalization

The numerical data collected exhibited a variety of ranges between different features and participants and thus required scaling. The resulting numerical data columns were proportionally scaled to exhibit zero mean and unit variance. The mean and variance calculated from the training set were applied to both the training and testing datasets.

In addition to proportionally scaling the ranges for each feature, it was also necessary to normalize the measurements for foot length, foot width, foot area, and hull area. This was accomplished by dividing the individual parameter measurement for each patient by the patient’s height (cm).

Feature selection

Figure 6 shows the process of feature selection. Reducing correlation among the numerical features is important for reducing prediction bias, speeding up the training process for the models, limiting unnecessary noise in the data, thus improving the overall effectiveness of the classifier. Pearson correlation was used to reduce the number of dependent features and a heatmap was used to visualize the correlations between features of training set. The resulting feature correlation matrix contained scores ranging from -1, strong negative correlation, to + 1, strong positive correlation, with a score of 0 denoting no correlation between the features. Our study used a removal threshold of − 0.8/0.8 for feature correlation. The heatmap determined the interdependence of all numerical features shown in Fig. 7.

Fig. 6
figure 6

Feature selection process

Fig. 7
figure 7

Heatmaps for correlations between features in the standard and augmented feature sets. Heatmap regions that are increasingly dark show areas of higher correlation, vice versa

The heatmap shows a strong positive correlation between the ‘step’ and ‘stride’ parameter sets (r > 0.8), as well as the base width and stride width. Stride time, stride velocity, and base width were excluded from further analysis to reduce the interdependence among the features.

Once the highly correlated features were removed, feature selection was performed on both the standard feature set and the augmented feature set, respectively, to determine which features provided the strongest response on the target variable, and to determine the optimal size of each set. The goal was to build two optimized sets of features (standard and augmented) which were used in the training and testing process.

Analysis of variance F-test statistics (ANOVA) was used on the training set to choose a subset of numerical features that had the most impact on the response variable. ANOVA gives each feature a score, with higher scores representing stronger features that have greater unexplained variance in prediction. When the features were ranked by their F-statistic score, it was then necessary to choose the size of the final set.

To determine the optimal size of this final feature set, all features were ranked by ANOVA score. Then, for each possible size si of the final set [1, 2, …n features], a fivefold cross-validation strategy with a SVM classifier was used to get the prediction accuracy for each size si. The average prediction accuracy was collected for each size si, and the optimal size was chosen with the highest score.

Since the categorical features are not included in the correlation or feature selection process, it is necessary to reintroduce these to the final feature set when the numerical processes are completed.

The standard set was initialized with 11 input features, from which the ANOVA algorithm suggested an optimal subset of 9 features. Step time was dropped as it had the lowest ANOVA F-statistic of the original group. When numerical feature selection was completed, the categorical feature foot type was reintroduced, resulting in the final standard set.

The augmented feature set was created from the same base features as the standard set, and these were complemented with hull area, BOS area, LOP deviation angle, toe angle magnitude, foot length, foot width, and foot area. Once completed, the ANOVA algorithm suggested an optimal size of 13 best features in the augmented set. The same features as the training set were dropped in the testing set. Tables 5 and 6 provide detail F-statistic score for optimal features.

Table 5 F-statistic score for optimal standard set features
Table 6 F-statistic score for optimal augmented set features

Machine learning algorithms

We tested the separability of the target classes using three general classification algorithms. LR [36], SVM [37], and XGB [38] were selected as they represent three well known methods of classification; probability, hyperplane polarity, and boosted decision-tree ensembles. Given a set of input features, each model was studied for its ability to categorize footprints as belonging to an MS patient or a healthy control through a range of classification scoring metrics.

LR is arguably the most popular binary classifier in machine learning. It relies on a logistic function into which input values x are combined linearly using weights or coefficient values to predict an output value y which is modeled as a binary categorical response [36].

SVM attempts to define a hyperplane boundary in an N-dimensional space, where N equals the number of input features. While many hyperplanes may exist in this space, SVM attempts to find the optimal plane that maximizes the separation of both classes. Additional points can then be classified as belonging to class 0 or 1 depending on the side of the optimal hyperplane that they occupy [37].

XGB is an optimized distributed gradient boosting library introduced by Chen & Guestrin in 2016 [38]. Applied to an ensemble of decision trees, boosting describes the combination of many weak learners into one accurate prediction algorithm. XGB utilizes the concept of gradient tree boosting while introducing regularization parameters to reduce overfitting.

Training and evaluation

To further reduce overfitting, we employed a grouped fivefold cross-validation strategy when training each model. All rows in the dataset were grouped according to the date of the patient visit and given a unique identifier. These groups remained intact throughout train/test validation splitting, and no group was permitted to appear in two different folds. In this fashion, the same participant’s data were not used simultaneously in training and testing sets.

Each model in the study has a unique set of hyperparameters that must be tuned to provide the best result. We used a standard grid search method on training data to test each model across a range of hyperparameter settings and selected the best parameter values for each. A summary of the tested parameter values for each model, along with the optimal hyperparameter settings for this data set, can be found in Tables 7 and 8.

Table 7 Hyperparameter options for each model
Table 8 Hyperparameters used by each algorithm to train the model

The number of true positive (TP), true negative (TN), false positive (FP), and false negative (FN) [39] predictions were calculated for each model, and a range of standard classification metrics were calculated to gauge the model effectiveness. Score metrics are explained in Table 9.

Table 9 Accuracy, precision, recall and F1 score explanation. TP, TN, FP, and FN are true positive, true negative, false positive, and false negative, respectively

ROC and PR curves were also generated for each model. The area under these curves can be assessed as another measure for determining the predictive capability of the model.

Availability of data and materials

The datasets used and or analyzed during the current study are available from the corresponding authors on reasonable request.

Abbreviations

ANOVA:

Analysis of variance

AUPRC:

Area underneath precision-recall curve

AUROC:

Area underneath receiver operating characteristic curve

BOS:

Base of support

EDSS:

Expanded disease severity scale

FN:

False negative

FP:

False positive

HITMS:

Health innovation team in multiple sclerosis

LOP:

Line of progression

LR:

Logistic regression

MS:

Multiple sclerosis

MSIS-29:

Multiple sclerosis impact scale

PR:

Precision recall

ROC:

Receiver operating characteristic curve

SVM:

Support vector machine

TN:

True negative

TP:

True positive

XGB:

Extreme gradient boosting

References

  1. Reich DS, Lucchinetti CF, Calabresi PA. Multiple sclerosis. N Engl J Med. 2018;378:169–80.

    Article  Google Scholar 

  2. MSIF TMSIF. Atlas of MS, 3rd edition. 2020, 1–36. www.atlasofms.org.

  3. Hakim EA, Bakheit AMO, Bryant TN, Roberts MWH, McIntosh-Michaelis SA, Spackman AJ, et al. The social impact of multiple sclerosis—a study of 305 patients and their relatives. Disabil Rehabil. 2000;22:288–93.

    Article  Google Scholar 

  4. Scheinberg L, Holland N, Larocca N, Laitin P, Bennett AHH. Multiple sclerosis; earning a living. N Y State J Med. 1980;80(9):1395–400.

    Google Scholar 

  5. Larocca NG. Impact of Walking Impairment in Multiple Sclerosis Perspectives of Patients and Care Partners Conclusions: Difficulty walking is a common impairment in people with MS, with adverse effects on the QOL of people with MS and care partners of a person with MS. Patient. 2011;4:189–201.

    Article  Google Scholar 

  6. Heesen C, Böhm J, Reich C, Kasper J, Goebel M, Gold SM. Patient perception of bodily functions in multiple sclerosis: Gait and visual function are the most valuable. Mult Scler. 2008;14:988–91.

    Article  Google Scholar 

  7. Socie MJ, Motl RW, Pula JH, Sandroff BM, Sosnoff JJ. Gait variability and disability in multiple sclerosis. Gait Posture. 2013;38:51–5.

    Article  Google Scholar 

  8. Rueterbories J, Spaich EG, Larsen B, Andersen OK. Methods for gait event detection and analysis in ambulatory systems. Med Eng Phys. 2010;32(6):545–52.

    Article  Google Scholar 

  9. Chaves AR, Devasahayam AJ, Riemenschneider M, Pretty RW, Ploughman M. Walking training enhances corticospinal excitability in progressive multiple sclerosis—a pilot study. Front Neurol. 2020;11:1–15.

    Article  Google Scholar 

  10. Czarnuch S, Ploughman M. Automated gait analysis in people with multiple sclerosis using two unreferenced depth imaging sensors: Preliminary steps. Proceedings of the 29th International Conference on Image and Vision Computing New Zealand, IVCNZ. 2014;

  11. Seel T, Raisch J, Schauer T. IMU-based joint angle measurement for gait analysis. Sensors (Switzerland). 2014;14:6891–909.

    Article  Google Scholar 

  12. Galli M, Cimolin V, Crugnola V, Priano L, Menegoni F, Trotti C, et al. Gait pattern in myotonic dystrophy (Steinert disease): a kinematic, kinetic and EMG evaluation using 3D gait analysis. J Neurol Sci. 2012;314:83–7. https://doi.org/10.1016/j.jns.2011.10.026.

    Article  Google Scholar 

  13. Ortega-Bastidas P, Aqueveque P, Gómez B, Saavedra F, Cano-de-la-Cuerda R. Use of a single wireless IMU for the segmentation and automatic analysis of activities performed in the 3-m timed up & go test. Sensors. 2019;19(7):1647.

    Article  Google Scholar 

  14. Sosnoff JJ, Weikert M, Dlugonski D, Smith DC, Motl RW. Quantifying gait impairment in multiple sclerosis using GAITRiteTM technology. Gait Posture. 2011;34:145–7. https://doi.org/10.1016/j.gaitpost.2011.03.020.

    Article  Google Scholar 

  15. Givon U, Zeilig G, Achiron A. Gait analysis in multiple sclerosis: Characterization of temporal-spatial parameters using GAITRite functional ambulation system. Gait Posture. 2009;29:138–42.

    Article  Google Scholar 

  16. Chen A, Kirkland MC, Wadden KP, Wallack EM, Ploughman M. Reliability of gait and dual-task measures in multiple sclerosis. Gait Posture. 2020;78:19–25.

    Article  Google Scholar 

  17. Chen PH, Lien CW, Wu WC, Lee LS, Shaw JS. Gait-based machine learning for classifying patients with different types of mild cognitive impairment. J Med Syst. 2020;44:1–7.

    Article  Google Scholar 

  18. Balaji E, Brindha D, Balakrishnan R. Supervised machine learning based gait classification system for early detection and stage classification of Parkinson’s disease. Appl Soft Comput. 2020;1(94):106494. https://doi.org/10.1016/j.asoc.2020.106494.

    Article  Google Scholar 

  19. Trentzsch K, Schumann P, Śliwiński G, Bartscht P, Haase R, Schriefer D, et al. Using machine learning algorithms for identifying gait parameters suitable to evaluate subtle changes in gait in people with multiple sclerosis. Brain Sci. 2021. https://doi.org/10.3390/brainsci11081049.

    Article  Google Scholar 

  20. Phan-Ba R, Calay P, Grodent P, Delrue G, Lommers E, Delvaux V, et al. A corrected version of the Timed-25 Foot Walk Test with a dynamic start to capture the maximum ambulation speed in multiple sclerosis patients. NeuroRehabilitation. 2012;30:261–6.

    Article  Google Scholar 

  21. Motl RW, Cohen JA, Benedict R, Phillips G, LaRocca N, Hudson LD, et al. Validity of the timed 25-foot walk as an ambulatory performance outcome measure for multiple sclerosis. Mult Scler. 2017;23:704–10.

    Article  Google Scholar 

  22. Kempen J, de Groot V, Knol DL, Polman CH, Lankhorst GJ, Beckerman H. Community walking can be assessed using a 10-metre timed walk test. Mult Scler J. 2011;17:980–90.

    Article  Google Scholar 

  23. Sosnoff JJ, Sandroff BM, Motl RW. Quantifying gait abnormalities in persons with multiple sclerosis with minimal disability. Gait Posture. 2012;36:154–6.

    Article  Google Scholar 

  24. Borzì L, Mazzetta I, Zampogna A, Suppa A, Olmo G, Irrera F. Prediction of freezing of gait in Parkinson’s disease using wearables and machine learning. Sensors. 2021;21(2):614.

    Article  Google Scholar 

  25. Rehman RZU, del Din S, Guan Y, Yarnall AJ, Shi JQ, Rochester L. Selecting clinically relevant gait characteristics for classification of early Parkinson’s disease: a comprehensive machine learning approach. Sci Rep. 2019;9:1–13. https://doi.org/10.1038/s41598-019-53656-7.

    Article  Google Scholar 

  26. van de Port I, Punt M, Meijer JW. Walking activity and its determinants in free-living ambulatory people in a chronic phase after stroke: a cross-sectional study. Disabil Rehabil. 2020;42:636–41.

    Article  Google Scholar 

  27. Widener GL, Allen DD. Measurement characteristics and clinical utility of the 29-item multiple sclerosis impact scale. Archives of physical medicine and rehabilitation. Am Cong Rehabil Med. 2014;95:593–4. https://doi.org/10.1016/j.apmr.2013.07.008.

    Article  Google Scholar 

  28. Phillips GA, Wyrwich KW, Guo S, Medori R, Altincatal A, Wagner L, et al. Responder definition of the Multiple Sclerosis Impact Scale physical impact subscale for patients with physical worsening. Mult Scler J. 2014;20:1753–60.

    Article  Google Scholar 

  29. Chaves AR, Wallack EM, Kelly LP, Pretty RW, Wiseman HD, Chen A, et al. Asymmetry of brain excitability: a new biomarker that predicts objective and subjective symptoms in multiple sclerosis. Behav Brain Res. 2019;359:281–91. https://doi.org/10.1016/j.bbr.2018.11.005.

    Article  Google Scholar 

  30. Galloway DA, Blandford SN, Berry T, Williams JB, Stefanelli M, Ploughman M, et al. miR-223 promotes regenerative myeloid cell phenotype and function in the demyelinated central nervous system. Glia. 2019;67:857–69.

    Article  Google Scholar 

  31. Severini G, Manca M, Ferraresi G, Caniatti LM, Cosma M, Baldasso F, et al. Evaluation of clinical gait analysis parameters in patients affected by multiple sclerosis: analysis of kinematics. Clin Biomech. 2017;45:1–8.

    Article  Google Scholar 

  32. Kurtzke JF. Rating neurologic impairment in multiple sclerosis: an expanded disability status scale (EDSS). Neurology. 1983;33(11):1444.

    Article  Google Scholar 

  33. Bhardwaj KK, Banyal S, Sharma DK. Chapter 7—Artificial intelligence based diagnostics, therapeutics and applications in biomedical engineering and bioinformatics. In: Balas VE, Son LH, Jha S, Khari M, Kumar R, editors. Internet of Things in Biomedical Engineering [Internet]. Academic Press; 2019. p. 161–87. https://www.sciencedirect.com/science/article/pii/B9780128173565000097

  34. Menardi G, Torelli N. Training and assessing classification rules with imbalanced data. Data Mining and Knowledge Discovery. 2014.

  35. He H, Ma Y. Imbalanced learning: foundations, algorithms, and applications. 1st ed. New Jersey: Wiley-IEEE Press; 2013.

    Book  Google Scholar 

  36. Bishop CM. Pattern recognition and machine learning. Berlin: Springer; 2006.

    MATH  Google Scholar 

  37. Nello C, Ricci E. Support vector machines. In: Kao M-Y, editor. Encyclopedia of Algorithms. Boston: Springer US; 2008. p. 928–32 (10.1007/978-0-387-30162-4_415).

    Google Scholar 

  38. Chen T, Guestrin C. XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on knowledge discovery and data mining. ACM; 2016. p. 785–94.

  39. Ting KM. Confusion Matrix. 2017; https://doi.org/10.1007/978-1-4899-7687-1_50

Download references

Acknowledgements

We would like to acknowledge the participants who donated their time and effort for the study, and the neurologists who assessed participants in the project.

Funding

This work was supported in part by Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery [XJ, Grant Number RGPIN-2020-05525], the Canada Research Chairs Program (MP grant number 950-230457), Canada Foundation for Innovation (MP Project Number 33621), Canadian Institutes for Health Research (MP Grant Number 169649).

Author information

Authors and Affiliations

Authors

Contributions

WH: experiment design, data analysis and interpretation, paper drafting and editing. OC: experiment design, data analysis and interpretation, paper drafting and editing. MP: research concept design, paper revision, funding support. XJ: research concept design, paper revision, funding support. CN, MW, SB, AC: subject recruitment, data collection and extraction, data cleaning. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Xianta Jiang.

Ethics declarations

Ethics approval and consent to participate

The study was approved by the institutional health research ethics board (HREB # 2015.103) according to Tri-Council Policy Statement (https://ethics.gc.ca/eng/policy-politique_tcps2-eptc2_2018.html). All participants provided informed written consent before participating.

Consent for publication

All authors consent to publication.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hu, W., Combden, O., Jiang, X. et al. Machine learning classification of multiple sclerosis patients based on raw data from an instrumented walkway. BioMed Eng OnLine 21, 21 (2022). https://doi.org/10.1186/s12938-022-00992-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12938-022-00992-x

Keywords