Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2022 Jun 17;17(6):e0270105. doi: 10.1371/journal.pone.0270105

A machine learning approach to identifying important features for achieving step thresholds in individuals with chronic stroke

Allison E Miller 1,*,#, Emily Russell 2,#, Darcy S Reisman 1,3, Hyosub E Kim 1,3,, Vu Dinh 2,
Editor: YunJu Lee4
PMCID: PMC9205506  PMID: 35714133

Abstract

Background

While many factors are associated with stepping activity after stroke, there is significant variability across studies. One potential reason to explain this variability is that there are certain characteristics that are necessary to achieve greater stepping activity that differ from others that may need to be targeted to improve stepping activity.

Objective

Using two step thresholds (2500 steps/day, corresponding to home vs. community ambulation and 5500 steps/day, corresponding to achieving physical activity guidelines through walking), we applied 3 different algorithms to determine which predictors are most important to achieve these thresholds.

Methods

We analyzed data from 268 participants with stroke that included 25 demographic, performance-based and self-report variables. Step 1 of our analysis involved dimensionality reduction using lasso regularization. Step 2 applied drop column feature importance to compute the mean importance of each variable. We then assessed which predictors were important to all 3 mathematically unique algorithms.

Results

The number of relevant predictors was reduced from 25 to 7 for home vs. community and from 25 to 16 for aerobic thresholds. Drop column feature importance revealed that 6 Minute Walk Test and speed modulation were the only variables found to be important to all 3 algorithms (primary characteristics) for each respective threshold. Other variables related to readiness to change activity behavior and physical health, among others, were found to be important to one or two algorithms (ancillary characteristics).

Conclusions

Addressing physical capacity is necessary but not sufficient to achieve important step thresholds, as ancillary characteristics, such as readiness to change activity behavior and physical health may also need to be targeted. This delineation may explain heterogeneity across studies examining predictors of stepping activity in stroke.

Introduction

Stroke is a leading cause of disability world-wide and results in numerous sequelae, including reduced walking ability and aerobic deconditioning [1, 2]. This is problematic because reduced walking ability and aerobic deconditioning are associated with deficits in physical function [3, 4], depression [5, 6], and reduced self-efficacy [7]. As a result, many individuals with stroke are inactive [8] and not meeting physical activity recommendations to maximize health benefits [9, 10]. In parallel, individuals with stroke often report improving their walking ability as a primary goal for rehabilitation [11] and clinicians spend considerable time on interventions to improve their walking [12]. Thus, two areas of particular relevance for the rehabilitation community are determining predictors of daily stepping activity that may inform whether an individual with stroke will be able to walk in the community or if they will be primarily home bound [3, 13, 14] and whether they will meet aerobic activity guidelines through walking [10, 15]. The latter is salient for clinicians as reaching physical activity recommendations may have implications for future health outcomes [1619].

Previous work has suggested that ~2500 daily steps distinguishes between home versus community ambulators in individuals with stroke [3] and that ~5500 daily steps is a reasonable target for individuals with disabilities to meet physical activity guidelines [10]. However, there has been significant heterogeneity in predictors of daily stepping activity after stroke. A recent meta-analysis including 26 studies and over 30 predictors of stepping activity post stroke found inconsistencies in the relevance of certain predictors [20]. This finding, in conjunction with the limited efficacy of interventions targeting daily stepping activity post stroke [21], suggests a need to better understand which predictors are most important for improving daily stepping activity after stroke.

To this end, the large number of variables that may influence walking activity after stroke requires analytical techniques with the ability to handle large, heterogeneous datasets. Machine learning techniques have this capacity as well as other advantages, including requiring fewer assumptions about the distributions of the data, numerous options for non-parametric models and dimensionality reduction techniques, and most notably their strong predictive capabilities [2224]. Recent work has utilized machine learning to predict recovery of upper limb functioning [23, 24] and functional outcomes after stroke with high accuracy [25]. In particular, one approach to determining which predictors may be most relevant is to utilize multiple different machine learning algorithms and compare predictors across algorithms [24]. This approach can help gain a better understanding of a target population and increase predictive power, as features that are shown to be important across mathematically unique algorithms likely represent fundamental characteristics of that population and are therefore important in predicting the outcome. Said differently, comparing relevant predictors across mathematically unique algorithms may help differentiate predictors that are most important for predicting the outcome from predictors that might be important for predicting the outcome in some individuals.

Despite these clear advantages, principled application of ML algorithms has not been used to understand the most important characteristics of stroke survivors who achieve stepping thresholds for community mobility status [3] or physical activity recommendations [10]. Thus, we had two objectives for this study. First, we aimed to determine which predictors are most important by applying three mathematically unique algorithms to a large dataset to predict achievement of community ambulation status (2500 steps/day) [3] and/or meeting physical activity recommendations (5500 steps/day) [10] and compare predictors across algorithms. We defined a predictor as important if it improved the model performance of all three algorithms. Based on previous evidence demonstrating that measures of physical capacity are likely the strongest predictors of daily stepping activity in stroke, we hypothesized that measures of physical capacity, specifically gait endurance [3, 26] (6 Minute Walk Test) and gait speed [14, 27] (10-Meter Walk Test), would be important predictors to all three algorithms. Based on evidence suggesting that balance self-efficacy [28, 29] (Activities Specific Balance Confidence Scale) and environmental factors [3033] (Area Deprivation Index) are also important for daily stepping activity post stroke but perhaps less important compared to physical capacity, we hypothesized that these measures would be important to one or two algorithms but not all three. Our second objective was to assess the prediction accuracy of these three different machine learning algorithms for each threshold.

Methods

Participants

Data was obtained from the baseline timepoint of a randomized clinical trial comparing the efficacy of specific interventions for improving daily walking activity in individuals with stroke [34]. Table 1 lists the eligibility criteria for this study. A more detailed description of these criteria can be found in the methods paper of the clinical trial [34]. All participants signed informed consent approved by the Human Subjects Review Board at the University of Delaware prior to study participation (IRB #878153–50). This work has been conducted according to the principles expressed in the Declaration of Helsinki.

Table 1. Eligibility criteria [34].

Inclusion Criteria Exclusion Criteria
Ages 21–85 Cerebellar stroke
≥6 months post stroke Other neurologic conditions in addition to stroke
Able to walk without assistance at a gait speed of ≥0.3 m/s Lower extremity Botulinum toxin injection < 4 months earlier
Current participation in physical therapy
Inability to walk outside the home before their stroke
Coronary artery bypass graft, stent placement, or myocardial infarction within the past 3 months
Musculoskeletal pain limiting activity
Inability to communicate with the investigators
Inability to answer at least one orientation question correctly (item 1b of the National Institutes of Health Stroke Scale) and inability to follow at least one, two-step command (item 1c of the National Institutes of Health Stroke Scale)

Measures

We attempted to be as inclusive as possible when selecting measures to be included in the statistical analysis. Unless a measure had >5% missing data or was irrelevant to the outcome (discussed below), it was included in the analysis. Table 2 provides a description of each measure.

Table 2. Description of measures.

Measure Description
6-Minute Walk Test (m, 6MWT) Participants were instructed to walk as far as possible around a rectangular path for 6 minutes. The 6MWT is a valid and reliable test of walking endurance in persons with stroke [35, 36]. Evidence suggests that the 6MWT is a strong predictor of walking activity in individuals with stroke [3, 20, 26].
Self-selected walking speed (m/s, SSWS) Participants traverse a 10-meter pathway in which the middle 6 meters are timed. Participants are instructed to walk at a leisurely pace as if they were going to get a drink from the refrigerator. The 10-Meter Walk Test is a valid and reliable test of gait speed in stroke [36].
Fastest walking speed (m/s, FWS) Similar to the above, except participants are instructed to walk at the fastest speed they safely can without running [36].
Speed modulation (m/s) Speed modulation measures the ability to change walking speeds and was calculated as FWS–SSWS.
Montreal Cognitive Assessment (MoCA) The MoCA was collected as a global measure of cognitive impairment and assesses various domains, such as executive functioning and attention. The MoCA has acceptable sensitivity and specificity in detecting cognitive impairment in people with stroke [37].
Charlson Comorbidity Index (age adjusted, CCI) The CCI is a comorbidity index that inquires about other health conditions, such as myocardial infarction, diabetes, and congestive heart failure. The CCI has been shown to predict functional outcomes in individuals with stroke [38].
Patient Health Questionnaire-9 (PHQ-9) The PHQ-9 is a screening tool for depressive symptoms. It is a 9-item self-administered questionnaire that asks participants to reflect on how often they have been bothered by specific problems over the past two weeks. The PHQ-9 is a valid and reliable measure of depressive symptoms in stroke [39].
Activities Specific Balance Confidence Scale (ABC) The ABC is a 16-tem questionnaire that measures balance self-efficacy. Participants rate how confident they are performing various tasks on a scale of 0 (“no confidence”) to 100 (“complete confidence”). Ratings for each item are averaged to produce an overall score. The ABC is a valid and reliable measure in persons with stroke [40] and has been shown to be related to daily stepping activity in stroke [28, 29].
Body mass index (BMI, kg/m2) Body mass index was calculated as the participant’s weight in kilograms (kg) divided by height in meters (m) squared.
Age (years) Participant’s age was a continuous variable quantified in years.
Time since initial stroke (months) This variable was calculated as the time between initial stroke onset and the date of the baseline evaluation of the clinical trial. Participants were required to be at least 6 months post stroke to be eligible.
Number of strokes This was quantified as the number of strokes the participant suffered and was confirmed by imaging.
Number of medications (including supplements) This variable was quantified as the number of medications the participant reported taking, including supplements.
Area Deprivation Index (state decile) The ADI is a composite index of neighborhood disadvantage that includes various indicators of education, housing quality and crowding, poverty, and employment. The ADI provides a state decile ranking from 1 to 10 for each individual state, where 1 indicates the least disadvantaged and 10 the most disadvantaged [41, 42].
Area Deprivation Index (national percentile) The ADI also provides a national percentile ranking from 1–100, with 1 representing the lowest level of disadvantage and 100 representing the highest level of disadvantage [41, 42]. Our previous work identified a significant relationship between the ADI and steps/day in people with chronic stroke [31].
Usual orthotic device Usual orthotic device was a categorical variable coded as 0 = no orthotic device, 1 = orthotic device.
Usual assistive device Usual assistive device was a categorical variable coded as 0 = no assistive device, 1 = assistive device.
Living situation Living situation was a categorical variable coded as 0 = living alone, 1 = living with a family member/significant other, 2 = living alone but has outside assistance daily, 3 = other.
Marital status Marital status was a categorical variable coded as 0 = married, 1 = not married.
Work status Work status was a categorical variable coded as 0 = employed full-time, 1 = employed part-time, 2 = retired, 3 = unemployed (includes being on disability).
Years of education Years of education was a categorical variable coded as 0 = high school (≤15 years), 1 = college graduate (16 years), 2 = above graduate (>16 years).
Gender Gender was coded as 0 = male and 1 = female.
Side of hemiparesis Side of hemiparesis was categorized as 0 = left, 1 = right, 2 = bilateral.
Readiness to change activity behavior Readiness to change activity behavior was measured on an ordinal scale based on the Transtheoretical Model of Change [43, 44]. Participants endorsed a response that best reflected their current stage of change. This variable was categorized as 1 = currently not active and do not intend on becoming active in the next 6 months, 2 = currently not active but thinking about starting to become active in the next 6 months, 3 = currently active sometimes but not regularly, 4 = currently active regularly but have only begun doing so within the last 6 months, 5 = currently active regularly and have done so for longer than 6 months.
Relapse in activity behavior Relapse in activity behavior was measured via self-report and categorized as 1 = experienced a relapse in activity levels, 2 = no relapse in activity levels [43, 44].

Daily stepping activity

To measure daily stepping activity, participants were provided with a FitBitTM at the baseline visit of the clinical trial. The FitBitTM has acceptable accuracy in detecting stepping activity in individuals with stroke [4548]. Participants wore the device on their non-paretic ankle and were instructed to wear it for 7 days to reliably estimate daily stepping activity [49] and continue with their usual activity. Average steps per day (ASPD) was calculated by summing the total number of steps taken over all valid recording days and dividing this sum by the number of valid recording days.

Statistical analysis

Data processing

Fig 1 displays a data pipeline that describes the data and analysis procedures. First, the data was exported from the electronic database, REDCap [50], and initially comprised 283 individuals and 32 clinical and demographic variables. ASPD was used to determine stepping thresholds (home vs. community threshold of 2500 steps/day and the aerobic threshold of 5500 steps/day). After removing variables with more than 5% missing entries and variables that were irrelevant to the outcome (e.g., “patient ID”), 25 of the remaining 32 variables were used in our analyses. Of the 283 participants, 15 were excluded for having missing data in one or more of the 25 variables selected, leaving a total of 268 participants included in our analyses. Two individuals inspected the data for accuracy prior to analysis.

Fig 1. Data pipeline.

Fig 1

Abbreviations: ASPD- Average Steps/Day, LR- Logistic Regression, SVM- Support Vector Machine, RF- Random Forest, CI- Confidence Interval.

All analyses were conducted using custom-written code in the Python programming language and compiled with Spyder4, using the standard machine learning library sklearn [51]. The same procedures were repeated for both the home vs. community and aerobic thresholds. Briefly, the preprocessed data set from 268 participants was imported into a data frame. Our design matrix was composed of all 25 variables except for ASPD, which was used to compute our binary outcome variable, step threshold category. All data in our design matrix was normalized for stability using a min-max scaler, which uses the minimum value and range of the distribution to shift and scale the distribution, respectively, translating to the interval [0,1] while preserving the shape of the original distribution.

For the home versus community threshold, participants were assigned a label of 1 for home ambulator (ASPD < 2500) or 0 for community ambulator (ASPD ≥ 2500). This resulted in a distribution of 58 (21.64%) home ambulators and 210 (78.36%) community ambulators. For the aerobic threshold, those whose ASPD were below the threshold of 5500 daily steps were given a label of 1, and those who met or exceeded the minimum aerobic threshold were labeled with a 0. The distribution in this case was 185 (69.03%) below the aerobic threshold and 83 (30.97%) above the threshold.

Drop-column procedure for feature importance

To address the first objective of this study, a two-stage procedure was used. The first stage was dimensionality reduction using lasso regularization. The purpose of this stage was two-fold: (1) dimensionality reduction to reduce redundancy and noise in our set of variables, and (2) reduce collinearity among the features, thus avoiding potential bias or conflation in measures of feature importance for strongly correlated variables in the second stage. Lasso was specifically chosen as it supported these objectives and allowed us to pass a smaller subset of features that held unique information about the target to the second stage. As an aside, we also considered using the elastic net penalty in the first phase, as it would satisfy our requirements, however this penalty was not supported for Linear SVM at the time of this analysis. It is worth noting, though, that we were able to run the analysis using the elastic net penalty for only LR in the first phase and that the end results were the same.

The second stage involved computing a measure of feature importance for the remaining features following dimensionality reduction (Fig 1) [52]. Throughout the analysis, the performance metrics were assessed using Monte Carlo Cross-Validation (MCCV) which in each instance consisted of 100 randomly generated train-test-splits of the data where for each split, 70% of the data was used as a training set and the remaining 30% was used as the test set.

For the first stage, we used logistic regression (LR) and linear support vector machine (SVM) both with lasso regularization with optimized regularization parameters. To optimize these parameters, a grid search was used with two refinements, each around the parameter value that was found to produce the best average model performance using MCCV. Once the optimized regularization parameters were found, the following procedure was executed for both regularized models: first, the model was fit over 100 random 70–30 train-test-splits of the data and the 100 sets of weights (i.e., coefficients, see S1 File for more detail) for each variable were recorded. Then, 1000 bootstrap samples of size 100 were generated for each feature and an empirical 95% confidence interval for the median of the coefficients was computed. The 1000 bootstrap samples for each feature were generated from the original sample of 100 coefficients computed from fitting the model over the 100 train-test splits and applying the function random.chosen() from the python module “random”. Variables for which 0 was included in the 95% confidence interval for both regularized models were then dropped, and only the remaining variables would be used in the second stage.

In the second stage, a measure of feature importance was computed for three different machine learning models: LR, SVM with a radial basis function (RBF) kernel, and random forest (RF). Our criteria for choosing these three models were that they had to be commonly-used machine learning algorithms, mathematically distinct, and previously shown to perform well with clinical and biological data (see S1 File for additional details) [53]. While all three of these algorithms fit this criterion, it is important to note that, unlike parametric models like LR and SVM whose models can be written down in function form, nonparametric models like RF are known for having strong predictive power, while lacking interpretability. In this way, RF could be thought of as having insight that is more complex yet could be difficult to quantify. For this stage, we aimed to use a measure of feature importance that is both easily interpretable as well as uniformly applicable across the three algorithms. We therefore chose the drop column feature importance process.

The drop column importance measure uses a chosen metric of model performance to quantify how much a given variable contributes to a model’s performance, i.e., whether the variable helps, hurts, or has no effect on the performance of the model [54]. Once the metric for performance is chosen, the drop column feature importance can be computed using any model. The idea of this procedure is to fit the model using all variables first (i.e., the benchmark model) and take a measure of the model’s performance using the chosen metric (i.e., the benchmark performance). To measure the influence of an individual feature on this metric of model performance, that feature will then be dropped from the training set and the model is then refitted. A measure of this new model’s performance, the dropped column performance is then taken, and that feature’s overall importance is taken to be the difference between the model’s performance with and without that feature, i.e.:

importance=benchmarkperformancedroppedcolumnperformance

This same procedure is then followed for each feature. Thus, if a particular feature improves the model’s performance, this importance measure will be positive because the dropped column performance would be lower than the benchmark performance (in other words, the model performed worse when we removed that particular feature) and vice versa for features whose importance is negative. The intuition underlying this procedure is that positive features hold pertinent information about the dependent variable, as they contributed the most to correctly identifying those in the target class.

The drop column procedure was run with MCCV for all three algorithms using only the features that were retained after regularization. For consistency, a single list of 100 train-test-splits was randomly generated and used for all three algorithms in this step. For each algorithm, every feature was given a drop column importance for every train test-split, resulting in 100 importance measures associated with each algorithm for each feature. From these samples of 100 importance scores for each feature, 1000 bootstrap samples of size 100 were taken and an empirical 95% confidence interval for the mean importance score was computed for each feature. A feature was considered important to an algorithm if the 95% confidence interval for the mean importance of that feature was positive. To address our first objective, we compared predictors whose mean importance was positive across all three algorithms with the framework that predictors that met this criterion are likely critically important for predicting the outcome.

Model performance

For our second objective, we compared the performance of these models by examining their prediction accuracy for each step threshold. For the aerobic threshold, the metric of prediction accuracy used was standard accuracy. Due to the nature and severity of the class imbalance in the home versus community case, particularly that the target class was the minority [55], the metric of balanced accuracy, which takes the average of the recall (also called the sensitivity or True Positive Rate) and specificity (also called the True Negative Rate), was used to more accurately reflect the models’ performance on the target class (see S1 File). With this class imbalance, balanced accuracy is better suited than standard accuracy to assess model performance because taking the average of recall and specificity takes the accurate classification of both classes into account. This avoids the case where a constant model (i.e., labeling all points as the majority class) would result in a conflated standard accuracy score, while mis-identifying the entire target class. For the home versus community threshold, balanced accuracy was used to evaluate model performance for all three algorithms (RF, SVM, and LR). These models were fit using the algorithms’ default parameters from the sklearn documentation for the aerobic threshold. Due to the class imbalance in the home versus community threshold, a grid search was performed to optimize only the class weights parameter, class_weight, to either have the default setting of no weights or to have balanced class weights, which imposes a weight on each class during fitting that is inversely proportional to the class frequency.

To assess model performance, as well as validate the regularization step in the feature importance procedure, we computed the appropriate measure of prediction accuracy, again using MCCV over a single, newly generated set of 100 train-test-splits. This was done first using all the features, then using the set of features retained in the regularization phase. The goal of regularization is to eliminate redundant or uninformative variables, resulting in the use of fewer variables without the loss of any critical information. Achieving this would be evidenced by either no significant decrease, or even an improvement in the model’s performance when using the variables retained after regularization versus the full set of variables. When assessing the models’ performance in the case of both thresholds, we would like to see them perform better than the “uninformed” model, which would randomly assign positive and negative class labels based on the class distribution. In the case of the aerobic threshold, since the class distribution was 69.03% positive class (<2500 steps/day) and 30.97% negative class (≥2500 steps/day) this would mean that the uninformed model would have a baseline accuracy score of (0.6903)2+(0.3097)2 = 0.5724, or 57.24%. In the case of the home vs. community threshold, since we use balanced accuracy as the metric of model performance, one of the benefits of balanced accuracy is that, regardless of the class distributions, the baseline balanced accuracy of the uninformed model would be 0.5 or 50%. In this work, accuracy measures that were in between performance of the “uninformed” model and 100% accuracy were considered “moderate”. The data and code associated with this work are available on Open Science Framework at https://osf.io/tgzpb/

Results

Table 3 displays the demographic characteristics and summary step data of our full sample (n = 268).

Table 3. Characteristics of study sample (n = 268)a.

Characteristic Participant
Age (years) 65 (IQR 17)
Gender Male: 139 (51.9%)
Female: 129 (48.1%)
Side of Hemiparesis Left: 142 (53%)
Right: 120 (44.8%)
Bilateral: 6 (2.2%)
Time Since Initial Stroke (months) 24 (IQR 42)
Assistive Device (yes/no) Yes: 126 (47%)
No: 142 (53%)
Self-selected Gait Speed (m/s) 0.75 (IQR 0.32)
Average Steps per Day 4175 (IQR 3061.5, Range 76–18166)
Total Number of Valid Stepping Days 8 (IQR 6, Range 3–27)

aContinuous variables presented as median (IQR- Interquartile range)

Results for home versus community threshold

After the regularization process, LR and linear SVM dropped all but the same 6 features (6MWT, PHQ-9, readiness to change relapse score, usual assistive device, years of education, and ADI_N) with linear SVM also keeping 1 additional feature (SSWS). This resulted in 7 of the original 25 variables proceeding to the drop column phase.

For both LR and SVM, all 7 variables resulting from the regularization step were found to be important, with each feature contributing at least 6% improvement to the balanced accuracy score on average for both algorithms. For RF, only 1 of the 7 variables was found to be important (6MWT). Thus, the only feature that was important to all three algorithms for the home versus community threshold was 6MWT, suggesting that walking endurance is critically important for predicting community mobility status in stroke. Fig 2 displays the results of the drop column phase for this threshold.

Fig 2. Drop column feature importance for home vs. community threshold (2500 steps/day).

Fig 2

Red markers show mean feature importance with 95% bootstrapped confidence interval. 6MWT was the only feature found to be important across all three algorithms. Abbreviations: ADI_N- Area Deprivation Index (national percentile), PHQ-9- Patient Health Questionnaire-9, Readiness_Relapse- Readiness to change relapse score, SSWS- self-selected walking speed, 6MWT- 6-Minute Walk Test, LR- Logistic regression, SVM- Support vector machine, RF- Random forest.

Fig 3A displays the model performances for the home versus community threshold. All models demonstrated a moderate level of test-set accuracy after optimizing for class weights, where LR and SVM were fit with balanced class weights and RF was fit with none. Note that for the home versus community classification problem, we used balanced accuracy to measure model performance, meaning the scores represent how the model accurately identified individuals on average across the home and community classes. Overall, RF performed the worst, achieving an average balanced accuracy score of 68.1% (SD 6.5%, range 50.6–87.3%) with selected features and 67.9% (SD 5.3%, range 58.6% - 82.7%) when using all features. SVM followed, achieving an average balanced accuracy score of 77.3% (SD 5.4%, range 62.7% - 90.6%) with selected features and 73.1% (SD 5.7%, range 60.8% - 84.1%) when using all features. Finally, LR achieved the best overall balanced accuracy with an average score of 78.6% (SD 4.8%, range 68.7% - 90.1%) with selected features and 75.6% (SD 5.5%, range 63.3% - 87.6%) when using all features. The similarities in model performance accuracies when comparing a model with all features to the simplified model following regularization across all algorithms demonstrate that the regularization phase was effective in reducing the number of features while maintaining model performance accuracy.

Fig 3.

Fig 3

Model performance for the home vs. community threshold (2500 steps/day; A- upper figure) and aerobic threshold (5500 steps/day; B- bottom figure). Model performance for each algorithm is displayed with all features included (AF) and with feature selection (FS) that occurred as a result of the regularization step. Circles represent individual accuracy results for model performance during the 100 different train-tests splits of the data. Diamonds represent outliers. A higher accuracy score reflects better model performance.

Results for aerobic threshold

After the regularization process, both linear SVM and LR produced the exact same results, with 16 features retained and carried forwards into the second stage of the analysis (see Y axis of Fig 4).

Fig 4. Drop column feature importance for aerobic threshold (5500 steps/day).

Fig 4

Red markers show mean feature importance with 95% bootstrapped confidence interval. Speed modulation was the only feature found to be important across all three algorithms. Abbreviations: ABC- Activities Specific Balance Confidence Scale, ADI_N- Area Deprivation Index (national percentile), BMI- body mass index, CCI- Charlson Comorbidity Index (age-adjusted), PHQ-9 (Patient Health Questionnaire-9), Readiness_Stage- Readiness to change stage score, 6MWT- 6-Minute Walk Test, TSIS- time since initial stroke, LR- Logistic regression, SVM- Support vector machine, RF- Random forest.

The drop column procedure was then run using these 16 variables over 100 random train-test splits of the data for all three algorithms. From these results, the only feature found to be important to all three algorithms was speed modulation, suggesting that the ability to change walking speed is critically important for predicting the aerobic step threshold in stroke. The full results of the drop column procedure for the aerobic threshold are displayed in Fig 4.

Fig 3B displays the model performances for the aerobic threshold. All models demonstrated a moderate level of test-set accuracy. Overall, SVM performed the worst, achieving an average standard accuracy score of 71.1% (SD 4.6%, range 58.0% - 81.5%) with selected features and 71.1% (SD 4.4%, range 60.5% - 82.7%) when using all features. LR and RF performed marginally better than SVM, with LR achieving standard accuracy scores of 73.9% (SD 4.5%, range 59.3% - 82.7%) with feature selection and 73.1% (SD 4.2%, range 59.3% - 81.5%) when using all features. RF achieved standard accuracy scores of 73.3% (SD 4.6%, range 58.0% - 85.1%) with feature selection and 73.5% (SD 4.1%, range 61.7% - 85.1%) when using all features. Again, the regularization phase was effective in reducing the number of features while maintaining model performance accuracy.

Discussion

We determined that 6MWT was the only variable found to be an important predictor across all three algorithms in distinguishing home versus community ambulators. We also found that speed modulation was the only variable deemed important across all algorithms in distinguishing between stroke survivors who meet physical activity guidelines versus those who do not. Considering that 6MWT and speed modulation are measures of a stroke survivor’s physical capacity and were the only variables found to be important across all three mathematically unique algorithms led us to conclude that measures of physical capacity are primary characteristics that distinguish between groups of stroke survivors using these binary step thresholds.

Our finding that 6MWT was a primary characteristic for distinguishing between home versus community ambulators is in agreement with previous studies demonstrating that the 6MWT discriminates between functional walking categories in individuals with stroke [3, 26]. This finding is also aligned with several studies reporting that measures of physical capacity are, in general, important predictors of functional walking categories [3, 14, 26, 27] and physical activity [20] in individuals with stroke. A meta-analysis by Thilarajah et al [20] found that the 6MWT explains 37% of the variance in physical activity in individuals with stroke. Our results support this finding that the 6MWT is critically important for distinguishing between home and community ambulation in people with stroke. As past work has generally utilized a single analytical approach, our results extend this work by demonstrating that the 6MWT prevails as an important predictor across multiple settings and further suggests that walking endurance is important for predicting whether a stroke survivor will achieve community mobility status using a 2500-step threshold. These results are clinically important and suggest that clinicians should target the individual’s walking endurance to achieve the goal of community ambulation. However, as can be observed in Fig 2, additional features were deemed important across some algorithms, but not all. The Area Deprivation Index, Patient Health Questionnaire-9, readiness to change relapse score, self-selected walking speed, assistive device use, and years of education were found to be important for both SVM and LR, but not RF. It is interesting to note that feature importance for RF was quite different from LR and SVM for this threshold. Unlike LR and SVM, RF is an ensemble method and was intentionally chosen to align with our objective of selecting models that were mathematically distinct. Therefore, this difference can be attributed, in part, to the mathematical differences among the models. Additionally, the fact that all seven of the features selected by the first phase were found to be important to LR and SVM suggest that the loss of any of these variables would come at a cost to model performance. For RF, however, it would appear that, as long as 6MWT is included, fewer variables than these seven could be used without sacrificing accuracy. Selecting models that were mathematically unique also enabled us to discern features that were most important across a range of settings. Taken together, these findings suggest that addressing walking endurance is likely necessary but not sufficient for achieving a 2500-step threshold and that ancillary features (defined as predictors that were important to one or two algorithms, but not all three), including depressive symptoms and readiness to change activity behavior, may need to be addressed to fully achieve this step threshold.

For the aerobic threshold, speed modulation most consistently improved the prediction when using standard accuracy. Previous work has demonstrated that speed modulation is related to fall status [56] and daily walking activity [57] in older adults. Here we showed that speed modulation is also an important predictor of whether a stroke survivor will achieve a daily step threshold reflecting physical activity guidelines. Speed modulation was not evaluated in the work by Thilarajah et al [20]. This finding therefore provides new perspective on the importance of evaluating the ability to change walking speeds when attempting to improve daily stepping activity in people with stroke.

Since there is no uniform consensus on what magnitude of class imbalance warrants the use of standard versus balanced accuracy, we also assessed whether using balanced accuracy for the aerobic threshold would change our result. In this analysis, we found that both 6MWT and speed modulation were primary characteristics for achieving the aerobic step threshold (see S1 Fig). This similarity in result regardless of the use of standard accuracy (in which the 6MWT was close to being considered a primary characteristic) or balanced accuracy increases our confidence in our methodology and suggests that measures of physical capacity are critically important for achieving the aerobic step threshold.

However, our results demonstrate that targeting physical capacity is likely necessary but not sufficient for achieving a 5500-step threshold. This is supported by the fact that some algorithms, but not all, found that ancillary features were important in predicting the outcome. For example, both LR and SVM found that readiness to change activity behavior and the number of medications taken, were also important for predicting the aerobic step threshold, suggesting that readiness to change activity behavior and physical health status, may also need to be addressed to fully achieve this threshold.

We examined predictors of both 2500 and 5500-step thresholds as past work suggests that these thresholds likely provide different information. The 2500-step threshold is intended to distinguish between stroke survivors who walk primarily within their home setting from those who walk within their community [3]. As community ambulation typically involves greater walking distances [58], sufficient walking endurance is likely necessary to traverse community distances, lending credence to our finding that 6MWT is a primary characteristic of the home versus community threshold. In contrast, the 5500-step threshold is intended to distinguish between those who meet physical activity guidelines through walking and those who do not [10]. Physical activity guidelines are expressed in terms of exercise intensity and increasing one’s walking speed is one approach to increasing exercise intensity [9]. Therefore, it logically follows that the ability to modulate walking speed is a primary characteristic of those who meet intensity-based physical activity guidelines through walking. However, when using balanced accuracy for the aerobic threshold, we found the 6MWT was also a primary characteristic and increasing one’s exercise duration is another approach to meeting physical activity guidelines. We therefore conclude that measures of physical capacity are primary characteristics necessary to achieve these step thresholds and that associated ancillary characteristics may need to be addressed to fully achieve these step thresholds. This conclusion is largely in agreement with that of Thilarajah et al [20] who found that measures of physical capacity, which were identified as primary characteristics in the current work, and psychosocial factors, which were identified as ancillary characteristics in this work, are important for daily stepping activity in people with stroke. Our results extend upon this work by suggesting there may be a prioritization or hierarchy of these many predictors when attempting to improve daily walking activity in individuals with stroke.

Importantly, these results should not be interpreted as the 6MWT and speed modulation represent the best single predictors of home versus community or aerobic step thresholds (see S2 Fig for predictive accuracy of 6MWT and speed modulation alone in predicting thresholds). For example, Fig 2 shows that for logistic regression (LR), the Area Deprivation Index (ADI_N) was more important for model performance than the 6MWT. This kind of inference would require determining that they hold the greatest predictive power over the other variables, which was not the purpose of this study. On the contrary, we defined a measure as important if it improved the model performance for all three algorithms (i.e., positive value for the drop column feature importance). Any measure that met this criterion was considered a primary characteristic essential for characterizing the step threshold. What our results therefore indicate is that 6MWT and speed modulation are primary characteristics that distinguish stroke survivors who do and do not meet these step thresholds. Thus, our results extend upon literature examining predictors of stepping activity in stroke by demonstrating that there are features that are primary characteristics that should be addressed as well as ancillary features that may need to be addressed based on the unique circumstances of the individual.

With respect to model performance, RF was outperformed by SVM and LR in the home versus community threshold, with LR marginally achieving the best results over SVM. In the case of the aerobic threshold, RF and LR outperformed SVM with average accuracy scores within less than 1% of each other both with and without selected features. It is important to note that we did minimal hyperparameter tuning in this assessment, only optimizing the parameter for class weights in the case of the home versus community threshold due to the class imbalance. After tuning just this single hyperparameter, LR and SVM saw improvements in average performance of 7.3–13.5% after tuning, where RF’s performance did not improve with balanced class weights. It is possible that with more exhaustive hyperparameter tuning, model performance in the case of both thresholds could be improved.

Importantly, model performance accuracies were similar or better for a model with only features retained after regularization compared to a model with all features for all three algorithms and both thresholds. This validated the regularization phase, as we were able to reduce the number of variables to a relevant subset without compromising model performance. More directly, we were able to predict the home versus community and aerobic threshold classifications as well with 7 and 16 features, respectively, as we were when using all 25 features.

Limitations

First, the class imbalance in the case of the home versus community threshold may have limited the performance of our algorithms. Consequently, model performance metrics across samples could suffer from high variability. In addition, with only 58 home ambulators, those in our sample may not be representative of the stroke population, as individuals were excluded if they walked at a self-selected gait speed of <0.3 m/s. However, we aimed to address this limitation by using balanced accuracy as our metric of model performance for the home versus community threshold to avoid potential scenarios resulting in inflated measures of accuracy caused by the class imbalance (e.g., a constant model classifying all points as community ambulators). Second, although we used step thresholds endorsed by previous studies, we recognize that there are likely individuals who may not fit these exact criteria. For example, stroke survivors who achieve the step threshold to be considered community ambulators may take these steps primarily within their home environment.

Conclusions/implications

A stroke survivor’s physical capacity to walk is a primary characteristic that can be used to determine whether they will achieve step thresholds corresponding to home versus community ambulation and physical activity guidelines. However, measures of physical capacity were not necessarily the single best predictors of achieving these thresholds. Thus, addressing physical capacity is necessary but not sufficient for achieving these thresholds and ancillary factors, such as readiness to change activity behavior and physical health status, among others, may need to be addressed based on the individual’s unique clinical presentation. Future work on larger sample sizes that contain greater representation of home ambulators and other potentially relevant variables, such as fatigue and quality of life, is necessary.

Supporting information

S1 Fig. Drop column feature importance for aerobic threshold (5500 steps/day) using balanced accuracy.

Red markers show mean feature importance with 95% bootstrapped confidence interval. 6MWT and speed modulation were the only features found to be important across all three algorithms. Abbreviations: ABC- Activities Specific Balance Confidence Scale, ADI_N- Area Deprivation Index (national percentile), BMI- body mass index, CCI- Charlson Comorbidity Index (age-adjusted), PHQ-9- Patient Health Questionnaire-9, Readiness_Stage- Readiness to change stage score, 6MWT- 6-Minute Walk Test, TSIS- time since initial stroke, LR- Logistic regression, SVM- Support vector machine, RF- Random forest.

(EPS)

S2 Fig

Precision-recall curve for predicting home versus community ambulation using the 6-minute walk test (A) and aerobic threshold using speed modulation (B). Precision is defined as: Precision = True Positives/(True Positives + False Positives). Recall is defined as: Recall = True Positives/(True Positives + False Negatives). The solid line plots the precision-recall curve, and the dash line reflects a no-skill classifier (a model that cannot discriminate between classes). Abbreviations: AUC- Area Under Curve.

(EPS)

S1 File

(DOCX)

Data Availability

All data and code files are available from the Open Science Framework database (https://osf.io/tgzpb/).

Funding Statement

This work was supported by the National Institutes of Health [1R01HD086362-01A1 (DSR), K12 HD055931 (HEK)]; the Foundation for Physical Therapy Research [Florence P. Kendall Doctoral Scholarship, Promotion of Doctoral Studies I Scholarship, Promotion of Doctoral Studies II Scholarship (AM)]; and the National Science Foundation [M3X award 1934650 (HEK), award DMS-1951474 (VD)]. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Winstein CJ, Stein J, Arena R, Bates B, Cherney LR, Cramer SC, et al. Guidelines for Adult Stroke Rehabilitation and Recovery: A Guideline for Healthcare Professionals From the American Heart Association/American Stroke Association. Stroke. 2016;47(6):e98–e169. Epub 2016/05/06. doi: 10.1161/STR.0000000000000098 . [DOI] [PubMed] [Google Scholar]
  • 2.Benjamin EJ, Virani SS, Callaway CW, Chamberlain AM, Chang AR, Cheng S, et al. Heart Disease and Stroke Statistics-2018 Update: A Report From the American Heart Association. Circulation. 2018;137(12):e67–e492. Epub 2018/02/02. doi: 10.1161/CIR.0000000000000558 . [DOI] [PubMed] [Google Scholar]
  • 3.Fulk GD, He Y, Boyne P, Dunning K. Predicting Home and Community Walking Activity Poststroke. Stroke. 2017;48(2):406–11. Epub 2017/01/07. doi: 10.1161/STROKEAHA.116.015309 . [DOI] [PubMed] [Google Scholar]
  • 4.Michael KM, Allen JK, Macko RF. Reduced ambulatory activity after stroke: the role of balance, gait, and cardiovascular fitness. Archives of physical medicine and rehabilitation. 2005;86(8):1552–6. Epub 2005/08/09. doi: 10.1016/j.apmr.2004.12.026 . [DOI] [PubMed] [Google Scholar]
  • 5.Barclay R, Ripat J, Mayo N. Factors describing community ambulation after stroke: a mixed-methods study. Clin Rehabil. 2015;29(5):509–21. Epub 2014/08/31. doi: 10.1177/0269215514546769 . [DOI] [PubMed] [Google Scholar]
  • 6.Ezekiel L, Collett J, Mayo NE, Pang L, Field L, Dawes H. Factors Associated With Participation in Life Situations for Adults With Stroke: A Systematic Review. Archives of physical medicine and rehabilitation. 2019;100(5):945–55. Epub 2018/07/08. doi: 10.1016/j.apmr.2018.06.017 . [DOI] [PubMed] [Google Scholar]
  • 7.Durcan S, Flavin E, Horgan F. Factors associated with community ambulation in chronic stroke. Disability and rehabilitation. 2016;38(3):245–9. Epub 2015/04/10. doi: 10.3109/09638288.2015.1035460 . [DOI] [PubMed] [Google Scholar]
  • 8.Fini NA, Holland AE, Keating J, Simek J, Bernhardt J. How Physically Active Are People Following Stroke? Systematic Review and Quantitative Synthesis. Physical therapy. 2017;97(7):707–17. Epub 2017/04/27. doi: 10.1093/ptj/pzx038 . [DOI] [PubMed] [Google Scholar]
  • 9.Billinger SA, Arena R, Bernhardt J, Eng JJ, Franklin BA, Johnson CM, et al. Physical activity and exercise recommendations for stroke survivors: a statement for healthcare professionals from the American Heart Association/American Stroke Association. Stroke. 2014;45(8):2532–53. Epub 2014/05/23. doi: 10.1161/STR.0000000000000022 . [DOI] [PubMed] [Google Scholar]
  • 10.Tudor-Locke C, Craig CL, Aoyagi Y, Bell RC, Croteau KA, De Bourdeaudhuij I, et al. How many steps/day are enough? For older adults and special populations. Int J Behav Nutr Phys Act. 2011;8:80. Epub 2011/07/30. doi: 10.1186/1479-5868-8-80 ; PubMed Central PMCID: PMC3169444. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Bohannon RW, Horton MG, Wikholm JB. Importance of four variables of walking to patients with stroke. Int J Rehabil Res. 1991;14(3):246–50. Epub 1991/01/01. doi: 10.1097/00004356-199109000-00010 [DOI] [PubMed] [Google Scholar]
  • 12.Lang CE, Macdonald JR, Reisman DS, Boyd L, Jacobson Kimberley T, Schindler-Ivens SM, et al. Observation of amounts of movement practice provided during stroke rehabilitation. Archives of physical medicine and rehabilitation. 2009;90(10):1692–8. Epub 2009/10/06. doi: 10.1016/j.apmr.2009.04.005 ; PubMed Central PMCID: PMC3008558. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Mulder M, Nijland RH, van de Port IG, van Wegen EE, Kwakkel G. Prospectively Classifying Community Walkers After Stroke: Who Are They? Archives of physical medicine and rehabilitation. 2019;100(11):2113–8. Epub 2019/06/04. doi: 10.1016/j.apmr.2019.04.017 . [DOI] [PubMed] [Google Scholar]
  • 14.Perry J, Garrett M, Gronley JK, Mulroy SJ. Classification of walking handicap in the stroke population. Stroke. 1995;26(6):982–9. Epub 1995/06/01. doi: 10.1161/01.str.26.6.982 [DOI] [PubMed] [Google Scholar]
  • 15.Handlery R, Fulk G, Pellegrini C, Stewart JC, Monroe C, Fritz S. Stepping After Stroke: Walking Characteristics in People With Chronic Stroke Differ on the Basis of Walking Speed, Walking Endurance, and Daily Steps. Physical therapy. 2020;100(5):807–17. Epub 2020/01/30. doi: 10.1093/ptj/pzaa020 . [DOI] [PubMed] [Google Scholar]
  • 16.Saint-Maurice PF, Troiano RP, Bassett DR Jr., Graubard BI, Carlson SA, Shiroma EJ et al. Association of Daily Step Count and Step Intensity With Mortality Among US Adults. Jama. 2020;323(12):1151–60. Epub 2020/03/25. doi: 10.1001/jama.2020.1382 ; PubMed Central PMCID: PMC7093766. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Loprinzi PD, Addoh O. Accelerometer-Determined Physical Activity and All-Cause Mortality in a National Prospective Cohort Study of Adults Post-Acute Stroke. Am J Health Promot. 2018;32(1):24–7. Epub 2017/07/19. doi: 10.1177/0890117117720061 . [DOI] [PubMed] [Google Scholar]
  • 18.Willey JZ, Moon YP, Sacco RL, Greenlee H, Diaz KM, Wright CB, et al. Physical inactivity is a strong risk factor for stroke in the oldest old: Findings from a multi-ethnic population (the Northern Manhattan Study). Int J Stroke. 2017;12(2):197–200. Epub 2017/01/18. doi: 10.1177/1747493016676614 ; PubMed Central PMCID: PMC5490071. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Bell EJ, Lutsey PL, Windham BG, Folsom AR. Physical activity and cardiovascular disease in African Americans in Atherosclerosis Risk in Communities. Medicine and science in sports and exercise. 2013;45(5):901–7. Epub 2012/12/19. doi: 10.1249/MSS.0b013e31827d87ec ; PubMed Central PMCID: PMC3622814. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Thilarajah S, Mentiplay BF, Bower KJ, Tan D, Pua YH, Williams G, et al. Factors Associated With Post-Stroke Physical Activity: A Systematic Review and Meta-Analysis. Archives of physical medicine and rehabilitation. 2018;99(9):1876–89. Epub 2017/10/24. doi: 10.1016/j.apmr.2017.09.117 . [DOI] [PubMed] [Google Scholar]
  • 21.Aguiar LT, Nadeau S, Martins JC, Teixeira-Salmela LF, Britto RR, Faria C. Efficacy of interventions aimed at improving physical activity in individuals with stroke: a systematic review. Disability and rehabilitation. 2018:1–16. Epub 2018/11/20. doi: 10.1080/09638288.2018.1511755 . [DOI] [PubMed] [Google Scholar]
  • 22.Narayanan A, Desai F, Stewart T, Duncan S, Mackay L. Application of Raw Accelerometer Data and Machine-Learning Techniques to Characterize Human Movement Behavior: A Systematic Scoping Review. J Phys Act Health. 2020:1–24. Epub 2020/02/09. doi: 10.1123/jpah.2019-0088 . [DOI] [PubMed] [Google Scholar]
  • 23.Stinear CM, Byblow WD, Ackerley SJ, Smith MC, Borges VM, Barber PA. PREP2: A biomarker-based algorithm for predicting upper limb function after stroke. Ann Clin Transl Neurol. 2017;4(11):811–20. Epub 2017/11/22. doi: 10.1002/acn3.488 ; PubMed Central PMCID: PMC5682112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Tozlu C, Edwards D, Boes A, Labar D, Tsagaris KZ, Silverstein J, et al. Machine Learning Methods Predict Individual Upper-Limb Motor Impairment Following Therapy in Chronic Stroke. Neurorehabil Neural Repair. 2020:1545968320909796. Epub 2020/03/21. doi: 10.1177/1545968320909796 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Lin CH, Hsu KC, Johnson KR, Fann YC, Tsai CH, Sun Y, et al. Evaluation of machine learning methods to stroke outcome prediction using a nationwide disease registry. Comput Methods Programs Biomed. 2020;190:105381. Epub 2020/02/12. doi: 10.1016/j.cmpb.2020.105381 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Fulk GD, Reynolds C, Mondal S, Deutsch JE. Predicting home and community walking activity in people with stroke. Archives of physical medicine and rehabilitation. 2010;91(10):1582–6. Epub 2010/09/30. doi: 10.1016/j.apmr.2010.07.005 . [DOI] [PubMed] [Google Scholar]
  • 27.Bowden MG, Balasubramanian CK, Behrman AL, Kautz SA. Validation of a speed-based classification system using quantitative measures of walking performance poststroke. Neurorehabil Neural Repair. 2008;22(6):672–5. Epub 2008/10/31. doi: 10.1177/1545968308318837 ; PubMed Central PMCID: PMC2587153. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Danks KA, Pohlig RT, Roos M, Wright TR, Reisman DS. Relationship Between Walking Capacity, Biopsychosocial Factors, Self-efficacy, and Walking Activity in Persons Poststroke. J Neurol Phys Ther. 2016;40(4):232–8. Epub 2016/08/23. doi: 10.1097/NPT.0000000000000143 ; PubMed Central PMCID: PMC5025374. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.French MA, Moore MF, Pohlig R, Reisman D. Self-efficacy Mediates the Relationship between Balance/Walking Performance, Activity, and Participation after Stroke. Topics in stroke rehabilitation. 2016;23(2):77–83. Epub 2015/12/15. doi: 10.1080/10749357.2015.1110306 ; PubMed Central PMCID: PMC4833556. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Holleran CL, Bland MD, Reisman DS, Ellis TD, Earhart GM, Lang CE. Day-to-Day Variability of Walking Performance Measures in Individuals Poststroke and Individuals With Parkinson Disease. J Neurol Phys Ther. 2020;44(4):241–7. Epub 2020/08/10. doi: 10.1097/NPT.0000000000000327 ; PubMed Central PMCID: PMC7486249. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Miller A, Pohlig RT, Reisman DS. Social and physical environmental factors in daily stepping activity in those with chronic stroke. Topics in stroke rehabilitation. 2020:1–9. Epub 2020/08/11. doi: 10.1080/10749357.2020.1803571 . [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Robinson CA, Matsuda PN, Ciol MA, Shumway-Cook A. Participation in community walking following stroke: the influence of self-perceived environmental barriers. Physical therapy. 2013;93(5):620–7. Epub 2013/01/19. doi: 10.2522/ptj.20110217 . [DOI] [PubMed] [Google Scholar]
  • 33.Shumway-Cook A, Patla AE, Stewart A, Ferrucci L, Ciol MA, Guralnik JM. Environmental demands associated with community mobility in older adults with and without mobility disabilities. Physical therapy. 2002;82(7):670–81. Epub 2002/06/29. . [PubMed] [Google Scholar]
  • 34.Wright H, Wright T, Pohlig RT, Kasner SE, Raser-Schramm J, Reisman D. Protocol for promoting recovery optimization of walking activity in stroke (PROWALKS): a randomized controlled trial. BMC Neurol. 2018;18(1):39. Epub 2018/04/14. doi: 10.1186/s12883-018-1044-1 ; PubMed Central PMCID: PMC5898044. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Eng JJ, Dawson AS, Chu KS. Submaximal exercise in persons with stroke: test-retest reliability and concurrent validity with maximal oxygen consumption. Archives of physical medicine and rehabilitation. 2004;85(1):113–8. Epub 2004/02/19. doi: 10.1016/s0003-9993(03)00436-2 ; PubMed Central PMCID: PMC3167868. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Flansbjer UB, Holmback AM, Downham D, Patten C, Lexell J. Reliability of gait performance tests in men and women with hemiparesis after stroke. J Rehabil Med. 2005;37(2):75–82. Epub 2005/03/25. doi: 10.1080/16501970410017215 . [DOI] [PubMed] [Google Scholar]
  • 37.Pendlebury ST, Mariz J, Bull L, Mehta Z, Rothwell PM. MoCA, ACE-R, and MMSE versus the National Institute of Neurological Disorders and Stroke-Canadian Stroke Network Vascular Cognitive Impairment Harmonization Standards Neuropsychological Battery after TIA and stroke. Stroke. 2012;43(2):464–9. Epub 2011/12/14. doi: 10.1161/STROKEAHA.111.633586 ; PubMed Central PMCID: PMC5390857. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Tessier A, Finch L, Daskalopoulou SS, Mayo NE. Validation of the Charlson Comorbidity Index for predicting functional outcome of stroke. Archives of physical medicine and rehabilitation. 2008;89(7):1276–83. Epub 2008/07/01. doi: 10.1016/j.apmr.2007.11.049 . [DOI] [PubMed] [Google Scholar]
  • 39.de Man-van Ginkel JM, Gooskens F, Schepers VP, Schuurmans MJ, Lindeman E, Hafsteinsdottir TB. Screening for poststroke depression using the patient health questionnaire. Nurs Res. 2012;61(5):333–41. Epub 2012/06/20. doi: 10.1097/NNR.0b013e31825d9e9e . [DOI] [PubMed] [Google Scholar]
  • 40.Salbach NM, Mayo NE, Hanley JA, Richards CL, Wood-Dauphinee S. Psychometric evaluation of the original and Canadian French version of the activities-specific balance confidence scale among people with stroke. Archives of physical medicine and rehabilitation. 2006;87(12):1597–604. Epub 2006/12/05. doi: 10.1016/j.apmr.2006.08.336 . [DOI] [PubMed] [Google Scholar]
  • 41.Kind AJ, Jencks S, Brock J, Yu M, Bartels C, Ehlenbach W, et al. Neighborhood socioeconomic disadvantage and 30-day rehospitalization: a retrospective cohort study. Ann Intern Med. 2014;161(11):765–74. Epub 2014/12/02. doi: 10.7326/M13-2946 ; PubMed Central PMCID: PMC4251560. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Kind AJH, Buckingham WR. Making Neighborhood-Disadvantage Metrics Accessible—The Neighborhood Atlas. The New England journal of medicine. 2018;378(26):2456–8. Epub 2018/06/28. doi: 10.1056/NEJMp1802313 ; PubMed Central PMCID: PMC6051533. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Miller A, Wright T, Wright H, Thompson E, Pohlig RT, Reisman DS. Readiness to Change is Related to Real-World Walking and Depressive Symptoms in Chronic Stroke. J Neurol Phys Ther. 2021;45(1):28–35. Epub 2020/12/15. doi: 10.1097/NPT.0000000000000345 ; PubMed Central PMCID: PMC7739270. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Rosenkranz RR, Duncan MJ, Caperchione CM, Kolt GS, Vandelanotte C, Maeder AJ, et al. Validity of the Stages of Change in Steps instrument (SoC-Step) for achieving the physical activity goal of 10,000 steps per day. BMC Public Health. 2015;15:1197. Epub 2015/12/02. doi: 10.1186/s12889-015-2539-y ; PubMed Central PMCID: PMC4666193. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Fulk GD, Combs SA, Danks KA, Nirider CD, Raja B, Reisman DS. Accuracy of 2 activity monitors in detecting steps in people with stroke and traumatic brain injury. Physical therapy. 2014;94(2):222–9. Epub 2013/09/21. doi: 10.2522/ptj.20120525 . [DOI] [PubMed] [Google Scholar]
  • 46.Hui J, Heyden R, Bao T, Accettone N, McBay C, Richardson J, et al. Validity of the Fitbit One for Measuring Activity in Community-Dwelling Stroke Survivors. Physiother Can. 2018;70(1):81–9. Epub 2018/02/13. doi: 10.3138/ptc.2016-40.ep ; PubMed Central PMCID: PMC5802948. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Klassen TD, Semrau JA, Dukelow SP, Bayley MT, Hill MD, Eng JJ. Consumer-Based Physical Activity Monitor as a Practical Way to Measure Walking Intensity During Inpatient Stroke Rehabilitation. Stroke. 2017;48(9):2614–7. Epub 2017/08/09. doi: 10.1161/STROKEAHA.117.018175 . [DOI] [PubMed] [Google Scholar]
  • 48.Klassen TD, Simpson LA, Lim SB, Louie DR, Parappilly B, Sakakibara BM, et al. "Stepping Up" Activity Poststroke: Ankle-Positioned Accelerometer Can Accurately Record Steps During Slow Walking. Physical therapy. 2016;96(3):355–60. Epub 2015/08/08. doi: 10.2522/ptj.20140611 ; PubMed Central PMCID: PMC4774387. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Tudor-Locke C, Burkett L, Reis JP, Ainsworth BE, Macera CA, Wilson DK. How many days of pedometer monitoring predict weekly physical activity in adults? Prev Med. 2005;40(3):293–8. Epub 2004/11/10. doi: 10.1016/j.ypmed.2004.06.003 . [DOI] [PubMed] [Google Scholar]
  • 50.Harris PA, Taylor R, Thielke R, Payne J, Gonzalez N, Conde JG. Research electronic data capture (REDCap)—a metadata-driven methodology and workflow process for providing translational research informatics support. J Biomed Inform. 2009;42(2):377–81. Epub 2008/10/22. doi: 10.1016/j.jbi.2008.08.010 ; PubMed Central PMCID: PMC2700030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, et al. Scikit-learn: Machine learning in Python. the Journal of machine Learning research. 2011;12:2825–30. [Google Scholar]
  • 52.Brick TR, Koffer RE, Gerstorf D, Ram N. Feature Selection Methods for Optimal Design of Studies for Developmental Inquiry. J Gerontol B Psychol Sci Soc Sci. 2017;73(1):113–23. Epub 2017/02/07. doi: 10.1093/geronb/gbx008 ; PubMed Central PMCID: PMC6075467. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Olson RS, Cava W, Mustahsan Z, Varik A, Moore JH. Data-driven advice for applying machine learning to bioinformatics problems. Pac Symp Biocomput. 2018;23:192–203. Epub 2017/12/09. ; PubMed Central PMCID: PMC5890912. [PMC free article] [PubMed] [Google Scholar]
  • 54.Chen C, Liaw A, Breiman L. Using Random Forest to Learn Imbalanced Data. [Tech Report]. In press; 2004. [Google Scholar]
  • 55.Krawczyk B. Learning from imbalanced data: open challenges and future directions. Progress in Artificial Intelligence. 2016;5(4):221–32. doi: 10.1007/s13748-016-0094-0 [DOI] [Google Scholar]
  • 56.Middleton A, Fulk GD, Herter TM, Beets MW, Donley J, Fritz SL. Self-Selected and Maximal Walking Speeds Provide Greater Insight Into Fall Status Than Walking Speed Reserve Among Community-Dwelling Older Adults. American journal of physical medicine & rehabilitation. 2016;95(7):475–82. Epub 2016/03/24. doi: 10.1097/PHM.0000000000000488 ; PubMed Central PMCID: PMC4912425. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Middleton A, Fulk GD, Beets MW, Herter TM, Fritz SL. Self-Selected Walking Speed is Predictive of Daily Ambulatory Activity in Older Adults. Journal of aging and physical activity. 2016;24(2):214–22. Epub 2015/09/16. doi: 10.1123/japa.2015-0104 ; PubMed Central PMCID: PMC4792803. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Andrews AW, Chinworth SA, Bourassa M, Garvin M, Benton D, Tanner S. Update on distance and velocity requirements for community ambulation. J Geriatr Phys Ther. 2010;33(3):128–34. Epub 2010/12/16. . [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

S1 Fig. Drop column feature importance for aerobic threshold (5500 steps/day) using balanced accuracy.

Red markers show mean feature importance with 95% bootstrapped confidence interval. 6MWT and speed modulation were the only features found to be important across all three algorithms. Abbreviations: ABC- Activities Specific Balance Confidence Scale, ADI_N- Area Deprivation Index (national percentile), BMI- body mass index, CCI- Charlson Comorbidity Index (age-adjusted), PHQ-9- Patient Health Questionnaire-9, Readiness_Stage- Readiness to change stage score, 6MWT- 6-Minute Walk Test, TSIS- time since initial stroke, LR- Logistic regression, SVM- Support vector machine, RF- Random forest.

(EPS)

S2 Fig

Precision-recall curve for predicting home versus community ambulation using the 6-minute walk test (A) and aerobic threshold using speed modulation (B). Precision is defined as: Precision = True Positives/(True Positives + False Positives). Recall is defined as: Recall = True Positives/(True Positives + False Negatives). The solid line plots the precision-recall curve, and the dash line reflects a no-skill classifier (a model that cannot discriminate between classes). Abbreviations: AUC- Area Under Curve.

(EPS)

S1 File

(DOCX)

Data Availability Statement

All data and code files are available from the Open Science Framework database (https://osf.io/tgzpb/).


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES