Next Article in Journal
Chaotic Signatures Exhibited by Plasmonic Effects in Au Nanoparticles with Cells
Next Article in Special Issue
Cross-Country Skiing Analysis and Ski Technique Detection by High-Precision Kinematic Global Navigation Satellite System
Previous Article in Journal
Special Issue “Advanced Signal Processing in Intelligent Systems for Health Monitoring”
Previous Article in Special Issue
Tongue Rehabilitation Device for Dysphagic Patients
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Method for Classification of Running Fatigue Using Change-Point Segmentation

1
Centre of Artificial Intelligence, School of information technology, Halmstad University, SE-301 18 Halmstad, Sweden
2
Rydberg Laboratory of Applied Science, School of business, engineering and science, Halmstad University, SE-301 18 Halmstad, Sweden
3
Raytelligence AB, 302 42 Halmstad, Sweden
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(21), 4729; https://doi.org/10.3390/s19214729
Submission received: 11 September 2019 / Revised: 14 October 2019 / Accepted: 29 October 2019 / Published: 31 October 2019
(This article belongs to the Special Issue Sensors for Biomechanics Application)

Abstract

:
Blood lactate accumulation is a crucial fatigue indicator during sports training. Previous studies have predicted cycling fatigue using surface-electromyography (sEMG) to non-invasively estimate lactate concentration in blood. This study used sEMG to predict muscle fatigue while running and proposes a novel method for the automatic classification of running fatigue based on sEMG. Data were acquired from 12 runners during an incremental treadmill running-test using sEMG sensors placed on the vastus-lateralis, vastus-medialis, biceps-femoris, semitendinosus, and gastrocnemius muscles of the right and left legs. Blood lactate samples of each runner were collected every two minutes during the test. A change-point segmentation algorithm labeled each sample with a class of fatigue level as (1) aerobic, (2) anaerobic, or (3) recovery. Three separate random forest models were trained to classify fatigue using 36 frequency, 51 time-domain, and 36 time-event sEMG features. The models were optimized using a forward sequential feature elimination algorithm. Results showed that the random forest trained using distributive power frequency of the sEMG signal of the vastus-lateralis muscle alone could classify fatigue with high accuracy. Importantly for this feature, group-mean ranks were significantly different (p < 0.01) between fatigue classes. Findings support using this model for monitoring fatigue levels during running.

1. Introduction

Both recreational runners and running athletes can enhance their training outcomes by monitoring their fatigue level while training. The concept of muscular fatigue is usually described in two levels, or thresholds, where the first threshold represents neuromuscular fatigue and the second represents fatigue due to an imbalance between lactate production and lactate removal [1]. Most markers that are used to indicate fatigue during running, i.e., lactate or ventilatory parameters, need to be measured via blood samples or ventilation. However, due to the inconvenience of this during outdoor and recreational activities, neither of these are feasible to use in everyday training. Therefore, both recreational and competitive runners could be assisted by a new monitoring system that can predict fatigue level while running using noninvasive, portable instruments. Examples of such measurement units are electromyography devices, which in recent years have become small enough to be portable and possible to use inside clothing materials [2].
Previous studies have shown that features from an electromyography (EMG) signal can be used to detect fatigue thresholds both during cycling and running [3,4]. The features that have most frequently been used to calculate the fatigue thresholds are amplitude-based measures, such as the root mean square and integrated EMG, and frequency-based measures, such as mean power frequency or median frequency [3]. However, there are also studies that report a lack of direct correlation between the mean power frequency and fatigue level [5]. The validations of the above features are mainly based on comparing the time or workload of the thresholds in comparison to known critical fatigue thresholds, such as the ventilatory threshold, the neuromuscular threshold, or the lactate threshold (LT). However, few studies report methods to continuously monitor fatigue level in relation to lactate level or ventilatory oxygen uptake, to use as input into an intelligent system. One of the early attempts of an autonomous fatigue prediction system [6] used linear discriminant analysis to predict fatigue in a static exercise. Another study was successful in finding fatigue predicting features in a dynamic biceps curl exercise [7]. However, rarely are sporting activities static and localized to one muscle only, which is why vigorous activities, such as bicycling and running, are of interest to study further.
Razanskas et al. [8] developed an algorithm using the cumulative sum of scores and correlation methods to train a machine-learning model to detect changes in lactate levels during bicycling. They found that a random forest (RF) model could predict the lactate level based on surface-electromyography (sEMG) signals with R2 values > 0.9 when trained using the time domain features and >0.8 when trained using the frequency domain features. However, for a model to be valid to use in a product application, it needs to be useful also for other types of activities, such as running. Furthermore, the model needs to be able to predict an individual’s fatigue level without knowledge of the workload or the state of recovery. Furthermore, LT assessed by the absolute accumulation of lactate is a subjective variable [9,10], which may provide errors in determining the current fatigue state just by finding the lactate prediction level. Therefore, it may be of interest to further explore whether better prediction accuracy can be obtained using an a priori classification model that determines the fatigue level based on lactate slope parameters.
The purpose of this study was to investigate whether the machine learning method that was previously shown useful in detecting fatigue in bicycling using sEMG on lower limbs [8] can also predict fatigue in a running task. Furthermore, the study aimed to develop this method further by adding a segmentation of fatigue levels to the analysis in order to improve accuracy.

2. Materials and Methods

The overall study design is described in a schematic diagram in Figure 1. In the first step, data were acquired using a treadmill protocol, as described below, and sEMG sensors placed on the lower limb muscles of runners. Secondly, the sEMG signals were preprocessed. Three different types of feature sets were extracted from the signals, and a forward sequential feature elimination algorithm was used for feature selection. Two different RF models were trained, of which the first model was used to predict lactate accumulation using regression, as described previously by Razanskas et al. [8], and the second model to classify fatigue based on change-point segmentation of lactate accumulation. The algorithm steps are described further below.

2.1. Data Collection

Twelve aerobically trained participants (five women and seven men) volunteered to participate in the study. Data were acquired during a single test session of an incremental treadmill-running test, as described below. Participants were either amateur long-distance runners (n = 4) or amateur triathlon athletes (n = 8) with a mean (±SD) running volume of 46.2 (±15.6) km/week, age 43 (±8) years, body mass 71.9 (±11.7) kg, and stature 1.75 (±0.99) m. All participants were informed about the study prior to the test occasion, both orally and in writing. Ethical approval was obtained from the regional ethical review board (Reg. No. 2014/162).
Participants were equipped with wireless sEMG-sensors (Delsys Trigno, Delsys, Boston, MA, USA) on m. Vastus Lateralis (VL), m. Vastus Medialis (VM), m. Biceps femoris (BF), m. Semitendinosus (SM), and the medial head of m. Gastrocnemius (GM), as shown in Figure 2, abbreviated for the right leg as RVL, RVM, RBF, RSM, and RGM, respectively, and for the left leg as LVL, LVM, LBF, LSM, and LGM, respectively.
The sensor positions were palpated according to the SENIAM (Surface Electromyography for the Non-Invasive Assessment of Muscles) guidelines, and sites were shaved, rubbed, and cleaned before attachment of the sensors. The sensors were attached using double-sided tape (Trigno Sensor Skin Interface, Delsys, Boston, MA, USA), and elastic sports tape around the limb to keep the sensors securely fixed. Maximum voluntary isometric contractions were performed for each muscle, according to the SENIAM guidelines, using manual resistance. Ventilatory measurements were performed using Oxycon Pro (Jaeger, Hoechberg, Germany), attached to a mask (7450 Series V2 Mask, Hans Rudolph Inc. Shawnee, Kansas, USA) worn by the participants to collect the ventilatory gases for analysis of ventilation, oxygen, and carbon dioxide. A heart rate monitor (Polar FT4, Kempele, Finland) was positioned on the thorax and connected to the Oxycon wirelessly. Subjective measures of leg fatigue and ventilatory fatigue were obtained using the Borg scale rating of perceived exertion, and blood lactate concentration samples (Lactate Pro 2, Arkray, Japan), were collected every two minutes throughout the test, by stepping to the side of the treadmill. This procedure took about 30 s. The blood samples were gathered from the right-hand fingertips of the participant. Prior to testing, each participant familiarized themselves with the perceived rating scale, the strategy to step aside from the treadmill to take a lactate sample, and the safety procedure when fatigue occurred. These procedures were practiced to enable safe and efficient data collection.
The incremental treadmill protocol started with a light warm-up at 8 (for women) or 9 (for men) km/h. The test started with six minutes of running at a speed corresponding to just below each athlete’s 10 km tempo, which was between 11 and 13 km/h. After the initial six minutes, an increase in workload (1–1.5 km/h) was performed every two minutes until the athlete reached a lactate level above 5 mmol/L (or was unable to increase the running workload). At this stage, the workload level was kept constant until the athlete was unable to continue (minimum six minutes). The final six minutes of the test were at the initial speed, i.e., their individual 10 km tempo.

2.2. Feature Extraction

The sEMG signals were recorded from the muscles at a sampling rate of 1926 Hz. In order to eliminate electronic noise and motion artifacts, the sampled signals were preprocessed using the suggested Butterworth filter [11] with 10th order 400 Hz low pass filter at a stopband of 450 Hz with 60 dB attenuation and the 10th order 20 Hz high pass filter at a stopband of 10 Hz with 60 dB attenuation. The filtered signal S(t) was interpolated using Hermite cubic splines and used for feature extraction and analysis.

2.2.1. Frequency Domain Features

In order to extract frequency domain features, the preprocessed signal S(t) was segmented into muscle activity bursts Si(t) using a method for detecting muscle activity previously described by Razanskas et al. [8]. An ith muscle activity burst corresponds to a single stride cycle in the running. The power spectrum Pi(f) of an ith burst was computed by using discrete Fourier transform on Si(t) using Equation (1):
P i ( f ) = | DFT ( S i ) | .
Pi(f) was further used to compute the power distribution of frequencies Di(f) of each ith burst using Equation (2):
D i ( f ) = P i ( f ) 0 f Nyq P i ( f ) df ,
where fNyq is the Nyquist frequency. Frequency-based features were extracted using Si(t) and Di(f). The description of each feature is given in Table 1. Details can be found elsewhere [12].

2.2.2. Time-Domain Features

The muscle activation time is a critical time-domain feature that is defined as the time difference between the activation and deactivation of a muscle during a stride. The activation moment A(i) and the deactivation moment D(i) of a muscle were computed using the local maxima and the local minima of the derivative of the sEMG signal S(t), as described by Razanskas et al. [12]. The time span of a single stride cycle was estimated using two consecutive muscle activation moments, A(i) and A(i+1). It was observed that muscles BF, VM, and VL fired sequentially during a stride cycle, i.e., the activation moment of BF preceded the activation moment of VM, and the activation moment of VM preceded the activation moment of VL. Hence, the length of time between A(i+1) and A(i) of muscle BF corresponds to the time span of one stride cycle, and the activation of other muscles can be computed as fractions of this baseline time length.
We used the activation moment A(i) of RBF as the starting timestamp because it was the first activation signal to start each activation cycle. It is pertinent that Razanskas et al. [8,12] used three sEMG channels recorded from rectus femoris, vastus lateralis, and semitendinosus muscles of both legs for estimating bicycling fatigue. In order to develop a similar model for estimating running fatigue, we used three sEMG channels recorded from BF, VM, and VL, and discarded SM and GM when extracting features based on the time domain analysis.
The phase shift ØX, Y between the activation moments of two muscles, say X and Y, in one stride cycle, was computed using Equation (3):
X ,   Y ( i ) =   A Y ( i ) A x ( i ) A RBF ( i + 1 ) A RBF ( i ) .
Similarly, the active time percentage αX of muscle X in one stride cycle was computed using Equation (4):
α X ( i ) =   D x ( i ) A x ( i ) A RBF ( i + 1 ) A RBF ( i ) .
The root-mean-square ρX of the sEMG signal S(t) of muscle X for the ith cycle was computed using Equation (5):
  ρ X ( i ) =   1 D x ( i ) A x ( i ) .
Furthermore, the arithmetic mean (AM) and standard deviation (SD) of features ØX, Y, αX, and ρX were computed using Equations (6) and (7), respectively:
A M = 1 n i = 1 n a i ,
S D = 1 n 1 i = 1 n ( a i a ¯ ) 2 ,
where ai is the feature value for an ith stride cycle, and n is the total stride cycles. Moreover, the asymmetry of each feature was measured by computing the corresponding arithmetic means of that feature from the right and the left leg and finding the absolute difference between them, given as:
( * ) = | M e a n R i g h t ( * ) M e a n l e f t ( * ) | .
In order to reduce the model complexity, Razanskas et al. [8] used a subset by excluding amplitude-based features from the time domain features. The subset was termed as the time event features. The time-domain and time event features (shaded grey) are listed in Table 2.

2.3. Feature Selection

In order to reduce the complexity of feature space as well as computational time in estimating blood lactate using sEMG, and more importantly, to identify the most relevant features for the model construction, a forward sequential feature elimination algorithm based on the Spearman correlation coefficient was used. Importantly, Razanskas et al. [8] used this feature selection method previously for predicting cycling fatigue.
As a preprocessing step, the blood lactate values were interpolated using Hermite cubic splines with Catmull–Rom tangents [13] so as to equate the number of lactate samples to the number of sEMG segments. Then, the feature values and blood lactate values were normalized between 0 and 1. Spearman rank correlation coefficient rs was computed for samples i = 1…n using Equation (9), given as:
r s = 1   6 i = 1 n ( x i y i ) 2 n ( n 2 1 ) ,
where n is the total number of sEMG segments, xi is a feature value of an ith segment, and yi is the blood lactate value for that segment, measured as mmol/L. The value of rs is 1 if the relationship between x and y is monotonically increasing, and –1 if the relationship between x and y is monotonically decreasing. In the first round, feature sets were selected by setting the threshold of rs as 0, i.e., all features were selected for the model construction. The threshold was increased by 0.05 in each iteration until the value was equal to 1, where the most significant and perfectly correlated features were selected for the model construction. The results are discussed in Section 3.2.

2.4. Random Forest

A prediction model based on RF [14] operates by constructing multiple decision trees that are trained using random subsets of the training dataset. This step of splitting the training set into random subsets and using these subsets for training the decision trees is termed bagging or bootstrap aggregation. Bagging splits the data in a way that two thirds of the random samples from the total dataset are used for training each decision tree and the remaining one third of the samples, termed out-of-bag (OOB) samples, are used for testing that tree. An error Y i Y ^ i is estimated for each OOB sample i, where Yi is the actual value of the sample and Y ^ i is the predicted value of the sample produced by a decision tree in the forest.
In the case of a regression problem, the generalization performance of an RF model is estimated using an average of the coefficients of determination (R2), computed using Equation (10):
R 2 = 1 i ( Y i Y ^ i ) 2 i ( Y i E [ Y ] ) 2 ,
where E[Y] is the mean OOB sample value, an R2 value of 1 signifies complete regression, and 0 signifies naïve regression. In the case of a classification problem, voting is performed between the decision trees, each predicting an output class for a particular OOB sample i. The class with the majority of votes in the forest, is selected as the predicted class. In both cases, regression and classification, the utilization of multiple decision trees in an RF eliminate the prediction bias that could possibly be introduced in an output of a single decision tree. Another advantage of using bagging is that the data variance is reduced, which prevents overfitting [15].
Previous studies have shown that lactate accumulation during running is highly individual [9,10], which may lead to the high variability of lactate prediction during this activity. Therefore, another method was tested alongside that proposed by Razanskas et al. [12] to incorporate subjective trends. We incorporated subjective trends of lactate concentration based on some a priori information of physiological behavior to train an RF model for predicting running fatigue. This was done by using a change-point segmentation (CPS) method, which identified timestamps at which the lactate values reached aerobic, anaerobic, and the maximum lactate accumulation level at exhaustion during the exercise. As a result, the previous regression problem to predict blood lactate accumulation in bicycling was transformed into a new classification problem that enabled the generalization of the model for predicting blood lactate accumulation in the running.

2.5. Change-Point Segmentation

The change-point method segmented the duration of the total exercise time between three classes (Figure 3), based on the individual slope changes between lactate points. Class ‘1’ represented the aerobic phase, i.e., the time between the start of the test and the LT. Class ‘2’ represented the anaerobic or lactate accumulation phase, i.e., the time between the LT and the point where the lactate accumulation was maximum at exhaustion. Class ‘3’ represented the post-exhaustion lactate recovery phase, i.e., the time between the maximum lactate accumulation and during the recovery.
In order to find the best fitting segmentation of classes 1, 2, and 3, a linear piecewise connected function was defined and selected by means of the least square method. That is, given the lactate samples x (t) observed at the time points t1, t2, t3tn where 0 ≤ t1 < t2 < t3 < … < tn ≤ max, the segmentation was the pair of breaks was defined as:
( t , t ) = argmin a 1 , b 1 , b 2 , b 3 , t , t i = 1 n ( l ( t i ) x ( t i ) ) 2 ,
where l(t1), l(t2), l(t3), …, l(tn) are values of the piecewise connected lines, given as:
l ( t ) = { a 1 t + b 1 f o r   0 t t a 2 ( b 2 ) t + b 2 f o r   t t t a 3 ( b 3 ) t + b 3 f o r   t t m a x } ,
for:
a 2 ( b 2 ) = a 1 + 1 t ( b 1 b 2 ) ,
and:
a 3 ( b 3 ) = a 2 + 1 t ( b 2 b 3 ) ,
which guarantees the connection of the lines. Here, t’ refers to the timestamp at LT and t’’ represents the timestamp at maximum lactate accumulation at exhaustion. From this minimization procedure, class 1 is the time duration between timestamps 0 and t’, class 2 is between timestamps t’ and t’’, and class 3 is between t’’ and max. The recorded sEMG signals were segmented using the timestamps t’ and t’’ between the three classes, aerobic, anaerobic, and recovery phases, as shown in Figure 3, and used as training targets. Each lactate classification model was checked visually to ensure that the classification model performed according to other methods of determining LT [9].

2.6. Model Validation

Two different experiments were performed, first to validate the previous bicycling models on the running data. The second experiment was to validate the novel CPS method for the classification of running fatigue. In order to optimize the generalization performance, the forward sequential feature elimination algorithm was used in both experiments. In the first experiment, RF regression models were trained separately using the frequency-based features (Table 1), the time-domain features (Table 2), and the time event features (Table 2: shaded) extracted from the sEMG signals recorded during the running exercise. As previously suggested [8,12], RF with 100 trees was used with an initial 10 random seeds. Models were trained separately for predicting lactate as well as oxygen uptake. A comparative analysis of the RF regression models for bicycling and running is presented in Section 3.1.
In the second experiment, the new CPS-based RF classification model was trained to discriminate between running fatigue classes using the feature sets. The model was stratified using 100 trees and 10 initial random seeds. Two different approaches were used. In the first approach, full feature sets were used for training. In the second approach, the forward sequential feature elimination algorithm was used to identify the combination of features producing the highest classification accuracies. The classification performance was analyzed using the area under the receiver operating characteristic (ROC) curves (AUC). Results and comparisons between frequency, time event, and the time-domain models for the classification of running fatigue are presented in Section 3.2. Significant features that contributed to model training were examined using a non-parametric Kruskal Wallis (KW) test by grouping samples from all participants into classes 1, 2, and 3. This was done to ensure that the classification accuracy obtained by the model was not due to noise or overfitting. Importantly, a significant p-value (p < 0.05) rejected the null hypothesis that samples belong to the same group.

3. Results

3.1. Experiment 1: Validation of the Bicycling Model on the Running Dataset

When using the frequency-based feature set to train the RF regression model, the results showed a low correspondence between the model performances for cycling and running, i.e., with only a few occasions of R2 > 80% for running (Figure 4). For the twelve runners, the best fatigue predictions based on lactate were achieved using the sensors at RVM and LVM. On average, the RF regression produced a low mean R2 of 0.71 ± 0.12 standard deviation for all participants compared to a robust mean R2 of 0.87 ± 0.045 in bicycling. Similarly, when predicting fatigue based on the oxygen uptake, the RF regression produced a low mean R2 of 0.62 ± 0.13 compared to a robust mean R2 of 0.9 ± 0.04 in bicycling.
When using the time-event features, the model showed corresponding results to cycling on an individual basis, where 8 out of the 12 running participants showed robust estimates between the model and lactate measures (Figure 5a). The mean R2 in the running was 0.75 ± 0.29, compared to the mean R2 of 0.94 ± 0.02 in cycling. The estimations of oxygen uptake were less robust for most participants, i.e., the mean R2 in the running was 0.64 ± 0.32, comparatively less than the mean R2 of 0.94 ± 0.01 in bicycling.
Similar observations were made using the time domain features, although with 10 out of 12 participants showing robust estimations of the model in the running study (Figure 5a). Using lactate, the mean R2 in the running was 0.78 ± 0.28, compared to the mean R2 of 0.97 ± 0.01 in cycling. For the oxygen uptake, the mean R2 in the running was 0.67 ± 0.31, compared to the mean R2 of 0.96 ± 0.01 in cycling.

3.2. Experiment 2: The Novel Change-Point Segmentation Method for the Classification of Running Fatigue

Spearman correlation between features and CPS-based fatigue classes are shown in Figure 6. Thirty-two time-domain features (2, 7–11, 16–19, 21, 23, 26, 30–40, 44–51) produced rs distinct from zero (rs ≥ 0.05), out of which seven features (2, 33, 34, 36, 37, 38, and 49) showed significant correlation with fatigue classes (p < 0.05). In the case of frequency-based features, 34 RGM (1–6, 8–17, 19–34), 8 LGM (23, 25–27, 29–32), 1 RVL (28), 32 RVM (1–18, 22, 23, 25–36), 4 RBF (3, 7, 8, and 18), 29 RSM (1, 2, 4–6, 9–11, 15–29, 31–36), 6 LVL (3, 22–25, and 29), 1 LVM (3), 5 LBF (25–29), and 16 LSM (1, 2, 5–8, 18–27) features produced rs significantly distinct from zero (rs ≥ 0.1; p < 0.05). Notably, in the cycling study, the same features correlated with lactate accumulation with average rs < 0.2 (p < 0.05) [8].
Selected features that contributed to maximum model performances are illustrated using red squares in Figure 6. The time event features showed the highest model performance (AUC = 0.87) using all the features in the model (Table 3a). However, when optimizing the feature set to a minimum number, then the frequency-based model for RVL and LVL performed best (AUC = 0.86) using only one feature (28 and 24, respectively) (Table 3b). In general, the proposed CPS-based classification model showed a high level of accuracy for most analyses.
Significant features of RVL and LVL models, p35.16–58.6 Hz and p70.32–93.76 Hz, were further investigated. The KW test was used to examine the distribution of feature values between classes based on mean ranks (Figure 7b). In the case of RVL, significant differences were observed in the mean ranks of p35.16–58.6 Hz between the three classes at a 95% confidence level (p < 0.05). The mean ranks of the feature in class 2 were the highest compared to the mean ranks in classes 1 and 3. The mean ranks of the feature in class 3 were higher than the mean ranks in class 1, suggesting that the recovery phase and the aerobic phase could be discriminated significantly (p < 0.05) using this RVL feature.
Similarly, in the case of LVL, the mean ranks of feature p70.32–93.76 Hz were significantly different between the three classes, with a 95% confidence interval (p < 0.05). The mean ranks of the feature in class 2 were the highest compared to classes 1 and 3. In addition, the mean ranks of the feature in class 2 were lower than the mean ranks in class 2 but higher than the mean ranks in class 1, suggesting that the recovery phase could be discriminated significantly (p < 0.05) using the LVL feature. Importantly, the classification performance of the RVL feature p35.16–58.6 Hz was approximately equal to the performance of the LVL feature p70.32–93.76 Hz (Table 3b and Figure 7). Hence, considering the leg dominance in individuals, it would be desirable to use both RVL and LVL features for running fatigue classification.

4. Discussion

The results suggest that the method shown useful to predict fatigue in bicycling [8,12] needs development to be valid for use in running. Razanskas et al. [8,12] used RF regression models with 100 trees for predicting bicycling fatigue. Strong R2 values (>0.8) were produced when frequency-based features (Figure 4) were used to train the model, and the performance was improved (R2 > 0.9) when the time domain features were used. However, these results relied on the assumption of the cyclic stationarity of the extracted sEMG segments [16]. When we used this model to predict lactate concentration in running fatigue, a higher standard deviation in the R2 for different runners was observed compared to the standard deviation in the R2 for bikers (Figure 4), supporting that LT during running is a subjective trait [9,10]. It was observed that runners produced subjective physiological trends relative to the exercise intensity, i.e., the duration and the values of the observed lactate concentrations at aerobic and anaerobic thresholds, and the maximum lactate concentration at exhaustion was varying for different runners, making it complicated for an RF regression model to generalize the lactate accumulation trends. In addition, some runners do not attain their maximum lactate concentration. The CPS-method, however, which was developed in this study, improved model accuracy (Figure 7). The best feature found was frequency percentage features for the VL muscles. We obtained an area under the ROC above 0.8, which can be considered promising for the intended use (Table 3b). However, there may be further improvements available to increase the validity of fatigue prediction.
Although this study showed that the model suggested previously by Razanskas et al. [8,12] did not seem valid for running, the technique using CPS showed promising results for use in general fatigue prediction. However, it needs to be validated for several types of endurance activities, such as running and bicycling outdoors. A successful outcome of validation studies may result in sensor implementation into clothing that can be used to keep track of lactate accumulation without collecting blood samples during training.
Previous studies that have determined thresholds (aerobic and anaerobic threshold) based on lactate measures from incremental exercise tests used a number of different methods to perform this, for example, fixed levels, increments of 0.5–1.5 mmol/L, and various slope gradients [9]. The method used to segment the LT in this study was based on a combination of previous methods and CPS methods [9]. The piecewise linear function estimates the slopes of the first two segments and put a threshold (segment breakpoint) where the two lines intersect, similar to the approach of Bunc et al. [17]. There are some issues regarding the validity of the LT based on incremental exercise tests, and which method works best seems to depend on the individual [18]. However, the segmentation approach in this study was mainly aimed to map and estimate feature prediction from the EMG-data, which seemed to work well as a first step.
Something to take into consideration when developing this method further is that the LT may occur at a lower exertion level in cycling compared to running [19]. Therefore, a future study may be recommended to test the method on both running and cycling using the same athletes and setup, and involve more ecologically valid contexts, such as varied terrain.
Although this study aimed to compare the results with the previously performed study by Razanskas et al. [12], there were some methodological differences, due to the type of exercise performed. Firstly, the exercise protocol differed in building up to the highest workload. The running protocol made incremental increases up to the maximum level, whereas the cycling study went from 60% of maximum to 90% of maximum directly. The reason for incremental increases during running was for the central circulatory system to be able to adapt to the new workload before the increase in workload. Furthermore, by increasing from 60% to 90% without incremental steps, there will be an instantaneous effect of workload above the LT, which makes it more challenging to determine the transition between a completely aerobic phase and an anaerobic phase.
The practical application of this study implies that machine learning techniques of EMG-signals can be used to predict whether the running athlete is currently in a phase where there is a balance between lactate production and lactate removal (aerobic state), or whether lactate is accumulating in the blood (anaerobic state). Although the results of this study seem promising, in use, the algorithm will require calibration at an individual level to be valid. This is due to the individual differences in LT and maximal fatigue capacity. A calibration procedure could be performed as a treadmill run with incremental steps whilst giving feedback on a rate of perceived effort scale. Although most users of a fatigue-monitoring product would likely be experienced runners and cyclists, it may be considered a risk to promote running to exhaustion, which is why a submaximal procedure would be preferable.
It is essential in a practical application that as few features as possible are used to optimize the estimates of the outcome, due to signal processing time [20]. In this study, the two features that showed the best estimate of the segmentation model for running was the relative power of the signal (p35.16–58.6 Hz of the RVL and p70.32–93.76 Hz of the LVL muscle). Therefore, the recommendation would be to involve these features in a minimized setting of fatigue analysis during running.
In conclusion, the proposed CPS-based classification algorithm was able to generalize the discrimination between lactate accumulation phases for different participants that were previously not possible using the bicycling model. The method is an alternative to the previous lactate estimation from blood samples that were not feasible for use in everyday training. Our experiments have shown that only one feature based on the power spectrum of the sEMG signal could estimate fatigue levels and the state of recovery, suggesting that sEMG signals could be processed accurately in real-time as a result of the lower time and computational complexity of the model. The algorithm was able to generalize the given population. However, we plan to validate the new model further to test ecological validity.

Author Contributions

Individual contributions were distributed as follows: conceptualization (T.K., L.E.L., M.C.O., P.V.), methodology (T.K., L.E.L., M.C.O., E.J.), data collection (L.E.L., M.C.O.), software (T.K., E.J.), validation (T.K.), formal analysis (T.K., L.E.L., E.J.), investigation (T.K., L.E.L.), data curation (T.K., L.E.L., E.J.), writing (T.K., L.E.L.), review and editing (T.K., L.E.L., E.J., M.C.O., P.V.), and visualization (T.K., L.E.L.).

Funding

This research was funded by the Knowledge Foundation through the research profile Centre for Applied Intelligence Research (CAISR) at Halmstad University. It was partly co-funded by the company Swedish Adrenaline.

Acknowledgments

We would like to thank Antanas Verikas and Petras Ražanskas for their help in guiding the project.

Conflicts of Interest

This work was partly funded to validate a method that can potentially become a commercial product. The funders have had no role in the collection, analysis, or interpretation of data, or in the decision to publish the results.

References

  1. Svedahl, K.; MacIntosh, B.R. Anaerobic threshold: The concept and methods of measurement. Can. J. Appl. Physiol. 2003, 28, 299–323. [Google Scholar] [CrossRef] [PubMed]
  2. Belbasis, A.; Fuss, F.K.; Sidhu, J. Muscle activity analysis with a smart compression garment. Procedia Eng. 2015, 112, 163–168. [Google Scholar] [CrossRef]
  3. Ertl, P.; Kruse, A.; Tilp, M. Detecting fatigue thresholds from electromyographic signals: A systematic review of approaches and methodologies. J. Electromyogr. Kinesiol. 2016, 30, 216–230. [Google Scholar] [CrossRef] [PubMed]
  4. Camic, C.; Hahn, C.; Hendrickson, B.; Jagim, A. Validation of the physical working capacity at the fatigue threshold treadmill test. Kinesiol. Int. J. Fundam. Appl. Kinesiol. 2017, 49, 146–152. [Google Scholar] [CrossRef] [Green Version]
  5. Tenan, M.S.; McMurray, R.G.; Blackburn, B.T.; McGrath, M.; Leppert, K. The relationship between blood potassium, blood lactate, and electromyography signals related to fatigue in a progressive cycling exercise test. J. Electromyogr. Kinesiol. 2011, 21, 25–32. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Al-Mulla, M.R.; Sepulveda, F.; Colley, M. An autonomous wearable system for predicting and detecting localized muscle fatigue. Sensors 2011, 11, 1542–1557. [Google Scholar] [CrossRef] [PubMed]
  7. Karthick, P.; Ghosh, D.M.; Ramakrishnan, S. Surface electromyography based muscle fatigue detection using high-resolution time-frequency methods and machine learning algorithms. Comput. Methods Programs Biomed. 2018, 154, 45–56. [Google Scholar] [CrossRef] [PubMed]
  8. Ražanskas, P.; Verikas, A.; Viberg, P.A.; Olsson, M.C. Predicting physiological parameters in fatiguing bicycling exercises using muscle activation timing. Biomed. Signal Process. Control 2017, 35, 19–29. [Google Scholar] [CrossRef]
  9. Faude, O.; Kindermann, W.; Meyer, T. Lactate threshold concepts. Sports Med. 2009, 39, 469–490. [Google Scholar] [CrossRef] [PubMed]
  10. Pallarés, J.G.; Morán-Navarro, R.; Ortega, J.F.; Fernández-Elías, V.E.; Mora-Rodriguez, R. Validity, and reliability of ventilatory and blood lactate thresholds in well-trained cyclists. PLoS ONE 2016, 11, e0163389. [Google Scholar] [CrossRef] [PubMed]
  11. Butterworth, S. On the theory of filter amplifiers. Wirel. Eng. 1930, 7, 536–541. [Google Scholar]
  12. Ražanskas, P.; Verikas, A.; Olsson, M.C.; Viberg, P.A. Predicting blood lactate concentration and oxygen uptake from sEMG data during fatiguing cycling exercise. Sensors 2015, 15, 20480–20500. [Google Scholar] [CrossRef] [PubMed]
  13. Catmull, E.; Rom, R. A class of local interpolating splines. In Computer Aided Geometric Design; Academic Press: Cambridge, MA, USA, 1974; pp. 317–326. [Google Scholar]
  14. Cutler, A.; Cutler, D.R.; Stevens, J.R. Random forests. In Ensemble Machine Learning; Springer: New York, NY, USA, 2012; pp. 157–175. [Google Scholar]
  15. Friedman, J.; Hastie, T.; Tibshirani, R. The Elements of Statistical Learning; Springer Series in Statistics; Springer: New York, NY, USA, 2001. [Google Scholar]
  16. Bonato, P.; Roy, S.H.; Knaflitz, M.; De Luca, C.J. Time-frequency parameters of the surface myoelectric signal for assessing muscle fatigue during cyclic dynamic contractions. IEEE Trans. Biomed. Eng. 2001, 48, 745–753. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Bunc, V.; Heller, J.; Novak, J.; Leso, J. Determination of the individual anaerobic threshold. Acta Univ. Carol. Gymnica 1985, 21, 73–81. [Google Scholar]
  18. Jamnick, N.; Botella, J.; Pyne, D.; Bishop, D. Evaluating the Influence of Methodological Variables on the Determination of Vo2max and the Lactate Threshold. Med. Sci. Sports Exerc. 2018, 50, 264. [Google Scholar] [CrossRef]
  19. Kohrt, W.; O’Connor, J.; Skinner, J. Longitudinal assessment of responses by triathletes to swimming, cycling, and running. Med. Sci. Sports Exerc. 1989, 21, 569–575. [Google Scholar] [CrossRef] [PubMed]
  20. Zhang, F.; Huang, H. Source selection for real-time user intent recognition toward volitional control of artificial legs. IEEE J. Biomed. Health Inform. 2013, 17, 907–914. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Schematic diagram of the study design. After data collection and data preprocessing, the study tested two ways to predict lactate levels of the athletes during the incremental running test, i.e., a novel fatigue classification model based on change-point segmentation and a previously described regression model for predicting lactate accumulation [8].
Figure 1. Schematic diagram of the study design. After data collection and data preprocessing, the study tested two ways to predict lactate levels of the athletes during the incremental running test, i.e., a novel fatigue classification model based on change-point segmentation and a previously described regression model for predicting lactate accumulation [8].
Sensors 19 04729 g001
Figure 2. The sensor positions used for surface electromyography.
Figure 2. The sensor positions used for surface electromyography.
Sensors 19 04729 g002
Figure 3. Change-point segmentation of lactate accumulation during a 25 min running session.
Figure 3. Change-point segmentation of lactate accumulation during a 25 min running session.
Sensors 19 04729 g003
Figure 4. A comparison between R2 boxplots obtained using random forest (RF) regression and frequency-based features from cycling and running data. (a) depicts the boxplots estimated using lactate. (b) depicts the boxplots estimated using the oxygen uptake. Dots represent outliers, and crosses represent mean R2. Muscle abbreviations used in the cycling study: *RF: Rectus Femoris, *VL: Vastus Lateralis, *SM: Semitendinosus, *BF: Biceps Femoris. R* and L* represent right and left legs, respectively.
Figure 4. A comparison between R2 boxplots obtained using random forest (RF) regression and frequency-based features from cycling and running data. (a) depicts the boxplots estimated using lactate. (b) depicts the boxplots estimated using the oxygen uptake. Dots represent outliers, and crosses represent mean R2. Muscle abbreviations used in the cycling study: *RF: Rectus Femoris, *VL: Vastus Lateralis, *SM: Semitendinosus, *BF: Biceps Femoris. R* and L* represent right and left legs, respectively.
Sensors 19 04729 g004
Figure 5. A comparison between R2 estimates obtained using RF regression based on the time domain and time event features from cycling and running data. (a) depicts R2 estimates for lactate. (b) depicts R2 estimates for oxygen uptake.
Figure 5. A comparison between R2 estimates obtained using RF regression based on the time domain and time event features from cycling and running data. (a) depicts R2 estimates for lactate. (b) depicts R2 estimates for oxygen uptake.
Sensors 19 04729 g005
Figure 6. Spearman correlation between features and classes of running fatigue.
Figure 6. Spearman correlation between features and classes of running fatigue.
Sensors 19 04729 g006
Figure 7. Classification performance using the change-point segmentation approach. (a) shows that the best AUCs of 86% were produced by two channels, RVL using feature p35.16–58.6 Hz, and LVL using feature p70.32–93.76 Hz. (b) shows the mean rank distribution of these features between fatigue classes.
Figure 7. Classification performance using the change-point segmentation approach. (a) shows that the best AUCs of 86% were produced by two channels, RVL using feature p35.16–58.6 Hz, and LVL using feature p70.32–93.76 Hz. (b) shows the mean rank distribution of these features between fatigue classes.
Sensors 19 04729 g007
Table 1. Frequency-based features extracted from an ith segment of the surface-electromyography (sEMG) signal Si(t) obtained from each muscle.
Table 1. Frequency-based features extracted from an ith segment of the surface-electromyography (sEMG) signal Si(t) obtained from each muscle.
NumberNameDescription
1RMSRoot mean square error of Si(t).
2dRMSThe backward difference of the root mean square error of Si(t).
3IFInstantaneous frequency or zero-crossings of Si(t) divided by two.
4ModFMode of Di(f).
5MnFMean of Di(f).
6StDThe standard deviation of Di(f).
7SkewThe skewness of Di(f).
8KurtKurtosis of Di(f).
9–17q0.1 to q0.9Every 10th percentile of Di(f), i.e., q0.5 is the 50th percentile or the median power frequency.
18–36p23-47 Hz to p234-258 HzRelative power contained in 23.44 Hz bands (width of 6 DFT bins) of power spectrum Pi(f) with an overlap of 11.72 Hz, starting with a band of 23.44–46.88 Hz and ending with a band of 234.4–257.8 Hz.
Table 2. Time domain and time event features (shaded grey) of sEMG signals. Two numbers assigned to a feature correspond to the arithmetic mean and standard deviation of that feature.
Table 2. Time domain and time event features (shaded grey) of sEMG signals. Two numbers assigned to a feature correspond to the arithmetic mean and standard deviation of that feature.
NumberSymbolNumberSymbol
Time event featuresThe mean and standard deviation of phase shifts X ,   Y between X and Y muscles for total stridesThe mean and standard deviation of the signal root-mean-square ρ X of muscle X for total strides
1,2   RBF ,   RVM   31, 32   ρ RBF  
3,4   RBF ,   RVL   33, 34   ρ RVM  
5,6   RVM ,   RVL   35, 36   ρ RVL  
7,8   LBF ,   LVM   37, 38   ρ LBF  
9,10   LBF ,   LVL   39, 40   ρ LVM  
11,12   LVM ,   LVL   41, 42   ρ LVL  
13,14   RBF , LBF   Asymmetry of X ,   Y between the right and left leg.
15,16   RVM ,   LVM   43   ( BF , VM )  
17,18   RVL ,   LVL   44   ( BF ,   VL )  
The mean and standard deviation of the active time percentages α X of muscle X for total strides45   ( VM ,   VL )  
19,20   α RBF   Asymmetry of α X between the right and left leg.
21,22   α RVM   46   α BF    
23, 24   α RVL   47   α VM    
25, 26   α LBF   48   α VL    
27, 28   α LVM   Asymmetry of ρ X between the right and left leg.
29, 30   α LVL   49   ρ BF    
Total number of time-domain features = 51
Total number of time event features = 36
50   ρ VM    
51   ρ VL    
Table 3. A comparison between the classification performances based on the area under the ROC curves (AUC) using the time-event, time-domain, and frequency-based features. Classes 1, 2, and 3 represent aerobic, anaerobic, and recovery phases, respectively. (a) lists AUCs produced using full feature sets. (b) lists AUCs produced using the selected features.
Table 3. A comparison between the classification performances based on the area under the ROC curves (AUC) using the time-event, time-domain, and frequency-based features. Classes 1, 2, and 3 represent aerobic, anaerobic, and recovery phases, respectively. (a) lists AUCs produced using full feature sets. (b) lists AUCs produced using the selected features.
a. Using all Featuresb. Using Selected Features
ModelAUCAUCFeatures
Class 1Class 2Class 3AverageClass 1Class 2Class 3AverageNo. of Selected FeaturesSelected Features
Time-domain models
Time event0.900.840.870.870.900.840.870.8736All
Time domain0.770.760.710.740.760.750.740.75322, 7–11, 16–19, 21, 23, 26, 30–40, 44–51
Frequency-domain models
RGM0.820.820.750.800.860.860.820.8531st, 5th, and 6th
LGM0.800.830.790.810.800.830.790.8136All
RVL0.750.780.690.740.860.870.860.86128th
RVM0.860.840.790.830.860.840.800.83321–18, 22, 23, 25–36
RBF0.820.840.770.810.820.840.770.8136All
RSM0.850.870.840.850.850.870.840.8536All
LVL0.830.820.740.800.860.860.850.86124th
LVM0.840.860.780.820.840.860.780.8236All
LBF0.850.860.800.840.850.860.800.8436All
LSM0.830.870.860.850.830.870.860.8536All
Average0.820.840.780.820.840.860.820.84

Share and Cite

MDPI and ACS Style

Khan, T.; Lundgren, L.E.; Järpe, E.; Olsson, M.C.; Viberg, P. A Novel Method for Classification of Running Fatigue Using Change-Point Segmentation. Sensors 2019, 19, 4729. https://doi.org/10.3390/s19214729

AMA Style

Khan T, Lundgren LE, Järpe E, Olsson MC, Viberg P. A Novel Method for Classification of Running Fatigue Using Change-Point Segmentation. Sensors. 2019; 19(21):4729. https://doi.org/10.3390/s19214729

Chicago/Turabian Style

Khan, Taha, Lina E. Lundgren, Eric Järpe, M. Charlotte Olsson, and Pelle Viberg. 2019. "A Novel Method for Classification of Running Fatigue Using Change-Point Segmentation" Sensors 19, no. 21: 4729. https://doi.org/10.3390/s19214729

APA Style

Khan, T., Lundgren, L. E., Järpe, E., Olsson, M. C., & Viberg, P. (2019). A Novel Method for Classification of Running Fatigue Using Change-Point Segmentation. Sensors, 19(21), 4729. https://doi.org/10.3390/s19214729

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop