Force-Invariant Improved Feature Extraction Method for Upper-Limb Prostheses of Transradial Amputees

A force-invariant feature extraction method derives identical information for all force levels. However, the physiology of muscles makes it hard to extract this unique information. In this context, we propose an improved force-invariant feature extraction method based on nonlinear transformation of the power spectral moments, changes in amplitude, and the signal amplitude along with spatial correlation coefficients between channels. Nonlinear transformation balances the forces and increases the margin among the gestures. Additionally, the correlation coefficient between channels evaluates the amount of spatial correlation; however, it does not evaluate the strength of the electromyogram signal. To evaluate the robustness of the proposed method, we use the electromyogram dataset containing nine transradial amputees. In this study, the performance is evaluated using three classifiers with six existing feature extraction methods. The proposed feature extraction method yields a higher pattern recognition performance, and significant improvements in accuracy, sensitivity, specificity, precision, and F1 score are found. In addition, the proposed method requires comparatively less computational time and memory, which makes it more robust than other well-known feature extraction methods.


Introduction
Electromyography (EMG) measures the electrical activity of muscles, which possess information related to their movement [1,2]. Generally, two techniques are widely used for EMG signal acquisition: surface EMG and needle EMG [3]. Recently proposed noninvasive and contactless capacitive EMG is also very promising for the acquisition of EMG signals [4][5][6][7]. However, a feature extraction method evaluates the information indicating a unique movement. Consequently, EMG signals are widely used as a control strategy in myoelectric pattern recognition [8]. However, myoelectric prosthetic hand users are not satisfied with the performance and the degree of freedom of available prosthetic hand [9]. The performance of myoelectric pattern recognition is highly influenced by wrist orientation [10,11], arm positions [12,13], electrode shift [14][15][16], non-stationarity characteristics of the signal [17], mobility of subject [18], and muscle force variation [18][19][20][21]. Among these crucial parameters, force variation is one of the vital physiological behaviors of skeletal muscle, which plays a key role in varying the amplitude and frequency characteristics of the EMG signal [22,23]. Therefore, researchers tried to resolve the force variation problem in myoelectric pattern recognition. Tkach et al. [24] studied the stability of EMG pattern recognition performance of eleven time-domain features with low and high force levels using linear discriminant analysis (LDA). They observed that the individual pattern recognition performance of each of the time-domain features degraded when the testing force level was not used in the training phase. In addition, they observed that the autoregression coefficient (AR) feature showed better performance with the variation in muscle force. The AR along with the root mean square (RMS) feature were reported by Huang et al. too [25].
Scheme et al. [20] investigated the problems associated with force variation on the EMG pattern recognition performance. In that study, they involved intact-limb subjects with ten hand movements. They collected EMG data for a wide range of force variation, i.e., ranging from 20% to 80% of the maximum voluntary contraction (MVC) with a step size of 10%. They observed a high error rate ranging from 32% to 45% with the LDA classifier; in that study, the LDA was trained with a single force level and was tested with all force levels. In their training scheme, a 50% training force level achieved the lowest error rate. However, the classifier improved its performance with an error rate of 16% when the classifier was trained with all force levels.
Al-Timemy et al. [19] proposed the time-dependent power spectrum descriptors (TDPSD) feature extraction method; it was based on an orientation between a set of spectral moments and a nonlinear map of the original EMG signal. In that study, they involved nine amputees to collect EMG data associated with three force levels; each amputee performed six hand gestures. In that study, the TDPSD achieved significant improvements from ≈6% to 8% in the averaged values of classification performance in comparison with that of well-known four feature extraction methods when the LDA classifier was trained with all force levels. Furthermore, Khushaba et al. [26] proposed the temporal-spatial descriptors (TSD), where they evaluated seven temporal features from a window and spatial correlation between channels, i.e., C x -C y . They evaluated the performance on five datasets, where amputees were involved in three datasets. TSD achieved a significant improvement: at least 8% in the averaged value of classification performances for all subjects.
Most of the authors proposed their feature extraction methods to improve forceinvariant EMG pattern recognition performance, and they utilized multiple force levels for training purposes to achieve performance at a satisfactory level. However, an ideal forceinvariant feature extraction method is such that a single force level is used for the training purpose but is capable of recognizing the gestures at the force level used in training and the gestures at other force levels [27]. Moreover, less time for feature extraction and smaller memory sizes are highly desired, so that the system is implementable in a microcontroller [28][29][30][31].
He et al. [27] proposed a feature extraction method based on discrete Fourier transform and muscle coordination. In this study, they involved intact-limb subjects with a specific location for electrode placement. The subjects performed eight gestures associated with three force levels, where low, medium, and high force levels were defined as 20%, 50%, and 80% of the MVC, respectively. Their proposed method achieved an improvement of 11% in an average performance in comparison with those of time-domain features. In addition, they achieved 91% force-invariant EMG pattern recognition performance when a medium force level was used for training purpose. However, the major constraint of this work is that it requires a specific electrode position on the forearm, which is quite hard to ensure for all amputees. A short overview of the different feature extraction methods is shown in Table 1. Al-Timemy et al. [19] Amputee Low, medium, and high TDPSD includes root squared zero-order, second-order, and fourth-order moments; sparseness; irregularity factor; and waveform length ratio LDA All 90 TDPSD improves the performance with muscle force variation.
Khushaba et al. [26] Intact and amputee -TSD, which includes root squared zero-order, second-order, and fourth-order moments; sparseness; irregularity factor; coefficient of variation; and Teager-Kaiser energy operator In this context, we attempt to improve the force-invariant EMG pattern recognition performance of transradial amputees. It is more challenging than that for intact-limb subjects since the muscle structure of the amputee is not perfect as for intact-limb subject [35,36]. In this study, we propose an improved force-invariant feature extraction method. It is the extension of the pilot work of Khushaba et al. [26], where the authors used higher-order moments as a feature [13,19,26]; however, they did not use frequency information of the corresponding higher-order moments. However, Hudgin et al. [34] suggested that frequency information along with EMG signal strength obtain better performances. Therefore, to determine the higher-order spectral moments along with frequency information, we em-ploy the time derivative of the signal [26]. Moreover, all considered features are nonlinearly transformed, which associates the EMG signal with a low force more discriminable than that of the high force level. Thus, this transformation balances the forces associated with different gestures and enhances the separation margin among those gestures. In addition to these nonlinear features, we consider the correlation coefficient (CC) for all channel pairs; it requires less computational time since only a single parameter is calculated instead of calculating all of the features, which are mentioned in [26]. An interesting salient characteristic of the CC is that it determines the correlation between channels placed on the underlying muscle groups except for the amplitude of the EMG signal, which is proportionally varied with respect to the muscle force level. Therefore, it is expected that the CC would perform well in force-invariant EMG pattern recognition performance.
In this study, we use an EMG dataset containing transradial amputees to evaluate force-invariant EMG pattern recognition performance when the proposed feature extraction method is used. In addition, we compare the performance and robustness between the proposed feature extraction method and the existing six well-known feature extraction methods with respect to three different classifiers.
The remainder of this paper is structured as follows. Section 2 describes the proposed feature extraction method, EMG dataset, and EMG pattern recognition method. Section 3 shows the force-invariant EMG pattern recognition performance, where the resulting performances are compared with those of other considered well-known feature extraction methods. Section 4 investigates the reasons behind the obtained improved performance, and Section 5 summarizes the overall experimental results.

The Proposed Feature Extraction Method
A discrete EMG signal can be expressed for window size N as x[iT], i = 0, 1, 2, 3, . . . . ., N − 1, with a sampling frequency of f S Hz, where T = 1 f S . However, x[iT] is also expressed as x[i]. Parseval Theorem in Equation (1) states that the sum of the square of a function is identical to the sum of the square of its Fourier transform.
where X * [k] is the conjugate of X[k] and P[k] is the corresponding power spectral density with a frequency index of k. The following equation relates the derivative of the timedomain signal to the frequency-domain signal.
where F is the discrete Fourier transform operator and n is the order of derivative. Therefore, the proposed features using Equations (1) and (2) are as follows: Zero-order power spectrum (P 0 ): The zero-order power spectrum measures the signal strength in the frequency domain [13,19,26]. According to Equation (1), P 0 can be defined in the following way.
Second-, fourth-, and sixth-order power spectra (P 2 , P 4 , and P 6 ): Hjorth et al. [37] defined a second-order moment as the power of the signal. Therefore, according to Equation (2), it is defined as follows: Therefore, the higher-order power spectrums are defined by repeating the process.
The odd-order power spectrums are zero. As a result, only effective even order power spectra P 2 , P 4 , and P 6 are considered.
First-and second-order average amplitude change (AC 1 and AC 2 ): Unlike in [34], the average of changes in amplitude denotes indirect frequency information. A higher change in amplitude implies higher frequency and vice versa.
Mean Value (MV): According to [34], the mean value represents the signal strength that can be defined mathematically, EMG pattern recognition performance varies with respect to force variation [19]. In addition, EMG signals, when their amplitude values are small, also suffer from the least separable margin among them. Some of the nonlinear functions, the square root, and logarithm were used, which were described in [13,31]. Besides these, we additionally employed the logarithm (log e x) on the seven extracted features to obtain the final features, f 1 , f 2 , f 3 , f 4 , f 5 , f 6 , and f 7 as shown in Figure 1.
Correlation coefficients: The size of a motor unit and its firing rate change muscle force, which in turn play a role in varying the EMG signal's amplitude and its frequency spectrum [22]. Consequently, the amplitude-and frequency-domain features extracted from that EMG signal also fluctuate. Naturally, these fluctuations of the features highly affect EMG pattern recognition performance [20,27]. However, this problem caused by the force variation can be minimized if the features are made force independent.
The CC statistically determines the strength and direction of a linear relationship between two variables. The most salient feature of CC is that it is independent of origin and the unit of measurement of the two considered variables. In the case of multichannel EMG signal acquisition, the CC between any two channels placed on the underlying muscles varies with respect to the gestures since active muscles are unique for each gesture. Additionally, the active muscles that change the strength of the EMG signal remain unchanged for all forces [27]. Therefore, it is expected that the CC is a force-independent feature. The linear correlation coefficient ρ(x,y) for the channels x and y is given by the following formula.
ρ(x, y) = Cov(x, y) Where x,y, and N represent the mean of the channel x, the mean of the channel y, and the number of samples in a channel, respectively. If there exists n number of channels, Diagnostics 2021, 11, 843 6 of 24 then the number of channel pair is n C 2 , which is equal to the dimension of the correlation coefficient feature. The whole feature extraction procedure is as follows: where, x , y , and N represent the mean of the channel x , the mean of the channel y , and the number of samples in a channel, respectively. If there exists n number of channels, then the number of channel pair is 2 n C , which is equal to the dimension of the correlation coefficient feature. The whole feature extraction procedure is as follows:

Description of EMG Dataset
The EMG dataset of transradial amputees was collected from the dedicated website of the second author [19]. The dataset contains nine transradial amputees, seven traumatic (TR1-TR7), and two congenital (CG1 and CG2) amputees, where each amputee was asked to perform six gestures during the process of data collection. The considered gestures were thumb flexion, index flexion, fine pinch, tripod grip, hook grip (hook or snap), and spherical grip (power). However, it was a very challenging task for transradial amputees to perform an imaginary gesture. Therefore, the amputees employed the support of their intact hand to perform an imaginary gesture. In addition to their intact hand, the amputees also used the LabVIEW (National Instruments, Ostin, TX, USA) software to observe the visual feedback for each channel. During this EMG data collection process, each amputee produced three force levels; those were defined as low, medium, and high. They maintained different force levels while watching real-time EMG signal displayed on the LabVIEW screen. However, each transradial amputee performed five to eight trials with a duration of 8 to 12 s. Thus, the total number of EMG signals collected from an amputee is equal to the product of the number of forces, gestures, and trials. In this EMG signal acquisition process, a custom-build EMG signal acquisition system was employed, where the EMG signal was sampled at 2000 Hz. Additionally, the Ag/AgCl electrode (Tyco healthcare, Germany) was used. In this data collection process, differential signal electrode pairs were placed around the forearm of the amputee and their ground electrode was placed on the elbow joint ( Figure 2). In this dataset, the number of EMG signal channel varied (8 to 12) from one amputee to another depending on the remaining stump length; however, the first eight channels are common to all amputees and these electrodes were placed around their forearm only. Therefore, we employed data collected from these eight channels to evaluate the EMG pattern recognition [19]. In addition to the considered

Description of EMG Dataset
The EMG dataset of transradial amputees was collected from the dedicated website of the second author [19]. The dataset contains nine transradial amputees, seven traumatic (TR1-TR7), and two congenital (CG1 and CG2) amputees, where each amputee was asked to perform six gestures during the process of data collection. The considered gestures were thumb flexion, index flexion, fine pinch, tripod grip, hook grip (hook or snap), and spherical grip (power). However, it was a very challenging task for transradial amputees to perform an imaginary gesture. Therefore, the amputees employed the support of their intact hand to perform an imaginary gesture. In addition to their intact hand, the amputees also used the LabVIEW (National Instruments, Ostin, TX, USA) software to observe the visual feedback for each channel. During this EMG data collection process, each amputee produced three force levels; those were defined as low, medium, and high. They maintained different force levels while watching real-time EMG signal displayed on the LabVIEW screen. However, each transradial amputee performed five to eight trials with a duration of 8 to 12 s. Thus, the total number of EMG signals collected from an amputee is equal to the product of the number of forces, gestures, and trials. In this EMG signal acquisition process, a custombuild EMG signal acquisition system was employed, where the EMG signal was sampled at 2000 Hz. Additionally, the Ag/AgCl electrode (Tyco healthcare, Germany) was used. In this data collection process, differential signal electrode pairs were placed around the forearm of the amputee and their ground electrode was placed on the elbow joint ( Figure 2). In this dataset, the number of EMG signal channel varied (8 to 12) from one amputee to another depending on the remaining stump length; however, the first eight channels are common to all amputees and these electrodes were placed around their forearm only. Therefore, we employed data collected from these eight channels to evaluate the EMG pattern recognition [19]. In addition to the considered electrode position, we employed the first five trials for the evaluation of EMG pattern recognition performance; each trial collected at different times indicated the identical gesture. However, to maintain the 5-fold cross-validation described in Section 2.3, we considered the first five trials.
Diagnostics 2021, 11, x FOR PEER REVIEW 7 of 24 electrode position, we employed the first five trials for the evaluation of EMG pattern recognition performance; each trial collected at different times indicated the identical gesture. However, to maintain the 5-fold cross-validation described in Section 2.3, we considered the first five trials.

EMG Pattern Recognition
In this study, for the performance analysis of EMG pattern recognition, we used the popular software MATLAB  2017a (Mathworks, Natick, MA, USA). An overlapped rectangular windowing scheme was used with a duration of 150 ms, and adjacent windows were overlapped with a duration of 50 ms [19]. The required average delay between successive prediction was 100   ms (  is the required time for predicting a classifier); therefore, the processing time or average system delay was set within the acceptable limit of the real-time prosthetic hand [38]. Each window with a duration of 150 ms for the EMG signal was preprocessed using cascaded digital filters, where a high pass filter of 20 Hz, a low pass filter of 500 Hz, and a notch filter of 50 Hz were used to remove movement artefact [39], high-frequency noise [28], and power line artefact [40], respectively. In the feature extraction section, the proposed features, correlation coefficients = 7 × 8 + 28 = 84). Therefore, we compared the proposed feature extraction method against six well-known feature extraction methods associated with three different force levels. These include the following: TSD [26] describes seven features, the root squared zero-order, second-order, and fourth-order moments; sparseness; irregularity factor; coefficient of variation; and the Teager-Kaiser energy operator. Additionally, these seven features were evaluated from each difference between pairs of channels, i.e., TDPSD [19] defines six features that are extracted from the time-domain EMG signal. TDPSD features include the root squared zero-order, second-order, and fourth-order moments; the sparseness; the irregularity factor; and waveform length ratio. Hence, TDPSD provides a 48-dimensional feature space.

EMG Pattern Recognition
In this study, for the performance analysis of EMG pattern recognition, we used the popular software MATLAB ® 2017a (Mathworks, Natick, MA, USA). An overlapped rectangular windowing scheme was used with a duration of 150 ms, and adjacent windows were overlapped with a duration of 50 ms [19]. The required average delay between successive prediction was 100+τ ms (τ is the required time for predicting a classifier); therefore, the processing time or average system delay was set within the acceptable limit of the real-time prosthetic hand [38]. Each window with a duration of 150 ms for the EMG signal was preprocessed using cascaded digital filters, where a high pass filter of 20 Hz, a low pass filter of 500 Hz, and a notch filter of 50 Hz were used to remove movement artefact [39], high-frequency noise [28], and power line artefact [40], respectively. In the feature extraction section, the proposed features, f 1 , f 2 , f 3 , f 4 , f 5 , f 6 , f 7 , and CC, were evaluated with a feature dimension of 84 (number of features × number of channels + n C 2 correlation coefficients = 7 × 8 + 28 = 84). Therefore, we compared the proposed feature extraction method against six well-known feature extraction methods associated with three different force levels. These include the following: TSD [26] describes seven features, the root squared zero-order, second-order, and fourthorder moments; sparseness; irregularity factor; coefficient of variation; and the Teager-Kaiser energy operator. Additionally, these seven features were evaluated from each difference between pairs of channels, i.e., C x − C y . Therefore, TSD provides 252 dimensional features (number of features × (number of channels + n C 2 pair of C x − C y ) = 7 × (8 + 28) = 252).
TDPSD [19] defines six features that are extracted from the time-domain EMG signal. TDPSD features include the root squared zero-order, second-order, and fourth-order moments; the sparseness; the irregularity factor; and waveform length ratio. Hence, TDPSD provides a 48-dimensional feature space.
Du et al. [33] used the six time-domain features (TDF), which were the integral of EMG, waveform length, variance, zero-crossing, slope sign change, and the Wilson amplitude. Therefore, the dimension of the TDF is 48.
Huang et al. [25] used seven features, which were the six order of AR along with the RMS value (AR-RMS). It created a 56-dimensional feature space.
Hudgin et al. [34] defined five features, with four of them (TD) being very popular for myoelectric pattern recognition: the mean absolute value, waveform length, zerocrossing, and slope sign change. Therefore, these four features produce a 32-dimensional feature space.
To reduce the computational time, a higher dimensional feature space was reduced to c − 1(c is the number of gestures) by using the spectral regression discriminant analysis [41]. In EMG pattern recognition, different classifiers are widely used. These are convolutional neural networks (CNNs) [42,43], artificial neural networks (ANNs) [1,44], linear discriminant analysis (LDAs) [45], support vector machines (SVMs) [46,47], and knearest neighbors (KNNs) [48,49]. Among these classifiers, the CNN provides better EMG recognition performance but requires a higher time for learning the model [50]. Therefore, we employed widely used classifiers: the LDA with quadratic function [20,51], the SVM with gaussian radian basis function [46], and the KNN with the number of neighbors equal to three [13]. In this performance evaluation, four trials from the first five were used as training data and the remaining one was used as testing data. Additionally, the process was repeated five times so that each of the trials was used as testing data, which is called 5-fold cross-validation. In this performance evaluation, the performance (F1 score) of each fold is found consistent with respect to other folds, which confirms that the data are not overfitted. However, the number of the training sample is equal to the product of the number of training force levels, training trials, gestures, and the number of samples per trial. Similarly, the number of testing sample is the product of the number of testing force levels, testing trials, gestures, and the samples per trial. In this dataset, the EMG signal duration varies from 8 to 12 s. Hence, the number of training and testing samples also varies slightly from one amputee to another. Finally, the EMG pattern recognition performance was measured in terms of accuracy, sensitivity, specificity, precision, and F1 score [52,53]. These parameters are evaluated as follows: where TP, TN, FP, and FN represent true positive, true negative, false positive, and false negative value values, respectively.

EMG Pattern Recognition Performance with Training Strategies of Various Force Level
In daily life, we frequently change muscle forces as required for every movement. Recent studies [19,20,27] illustrated the effect of training strategies with respect to various force levels on EMG pattern recognition performance. Therefore, we study some training and testing schemes for the proposed feature extraction method and considered wellknown feature extraction methods Case 1: Training and testing the classifiers with the same force level. Case 2: Training the classifiers with a single force level at a time and testing the classifiers with all three force levels.
Case 3: Training the classifiers with any two force levels at a time and testing the classifiers with all three force levels. Case 4: Training the classifiers with all three force levels and testing the classifiers with all three force levels.

Statistical Test
To determine the significant difference between the proposed method and other methods, the Bonferroni-corrected Analysis of Variance (ANOVA) test is utilized with a significant level of 0.05. The obtained p-values below 0.05 imply that the performances of the proposed method are significantly different. In this study, the EMG pattern recognition performances of nine amputees for each training case (i.e., Case 1, Case 2, and Case 3) are concatenated to construct a 27-dimensional vector (9 amputees × 3 training schemes for each case), and then, the Bonferroni-corrected ANOVA is performed. Additionally, only ANOVA is performed in Case 4, where the number of training case is one.

RES Index
To evaluate the clustering performance of a feature or a feature extraction method, the RES (ratio of Euclidean distance to standard deviation) index is employed. The higher RES index specifies a higher separation margin among the classes and vice versa. The RES index can be evaluated as follows [54]: where ED is the Euclidean distance between gesture p and q; it is defined mathematically, where m and K denote the mean value of a feature and the total number of gestures. Dispersion of cluster p and q is given by where I is the size of the feature vector.

Signal Observation
To observe the impact of muscle force variation on a gesture, we considered thumb flexion hand gesture. Figure 3a shows the raw EMG signal for three muscle force levels (low, medium, and high) considering a window size of 150 ms. In addition to the raw EMG signal, one feature (f 1 ) was calculated and is shown in the spider plot (Figure 3b). Both figures indicate that the EMG signal strength increases with respect to the increase in muscle force level. Additionally, it is noticed from Figure 3b that, although the strength of the EMG signal increases with respect to the increase in muscle force level, the muscle activation pattern obtained throughout the channels is almost unique for all force levels.
Diagnostics 2021, 11, x FOR PEER REVIEW 10 of 24 of the EMG signal increases with respect to the increase in muscle force level, the muscle activation pattern obtained throughout the channels is almost unique for all force levels.

Impact of Nonlinear Transformation
The impact of the nonlinear transformation (logarithm) on the 2D-feature space is shown in the scatter plot ( Figure 4). In this scatter plot, we employed 25 sample points for each gesture from the dataset of amputee 1. Thus, the total number of sample points on the scatter plot is equal to 450 (muscle force levels × gesture × number of sample points for each movement = 3 × 6 × 25). The left ( Figure 4a) and right (Figure 4b) scatter plots indicate the original features (   0  2  4  6  1  2 , , , , , , MV P P P P AC AC , and C C ) and nonlinearly transformed features (   1  2  3  4  5  6  7 , , , , , , f f f f f f f , and CC ). In these figures, each color indicates a gesture. First, the 84-dimensional feature space for each force level is reduced to a 5-dimensional feature space using the SRDA. Thereafter, among this 5-dimensional feature space, the first two were normalized and were used for these scatter plots. The figures

Impact of Nonlinear Transformation
The impact of the nonlinear transformation (logarithm) on the 2D-feature space is shown in the scatter plot ( Figure 4). In this scatter plot, we employed 25 sample points for each gesture from the dataset of amputee 1. Thus, the total number of sample points on the scatter plot is equal to 450 (muscle force levels × gesture × number of sample points for each movement = 3 × 6 × 25). The left ( Figure 4a) and right (Figure 4b) scatter plots indicate the original features (MV, P 0 , P 2 , P 4 , P 6 , AC 1 , AC 2 , and CC) and nonlinearly transformed features ( f 1 , f 2 , f 3 , f 4 , f 5 , f 6 , f 7 , and CC). In these figures, each color indicates a gesture. First, the 84-dimensional feature space for each force level is reduced to a 5dimensional feature space using the SRDA. Thereafter, among this 5-dimensional feature space, the first two were normalized and were used for these scatter plots. The figures show that there is an almost unique muscle activation pattern among the gestures associated with all force levels. Additionally, the logarithm discriminates more for low amplitude values and discriminates less for high amplitude values. Figure 4b shows a higher RES index than Figure 4a, which means that the margin among the gestures is increased. In addition to an improvement in separation margin, the nonlinear transformation also has a more compact cluster among the forces for each gesture.
show that there is an almost unique muscle activation pattern among the gestures associated with all force levels. Additionally, the logarithm discriminates more for low amplitude values and discriminates less for high amplitude values. Figure 4b shows a higher RES index than Figure 4a, which means that the margin among the gestures is increased. In addition to an improvement in separation margin, the nonlinear transformation also has a more compact cluster among the forces for each gesture.

The Impact of Window Length on Clustering Performance
To determine the impact of variable window length on clustering performance, we varies the window length from 50 ms to 400 ms with an equal interval of 50 ms. Then, we observed the scatter plot and the RES index simultaneously, which is shown in Figure 5. In this performance evaluation, the scatter plot visualizes the clustering performance and the separation margin among the gestures, and the RES index indicates their quantitative value. However, to evaluate the performance, we employed 25 sample points for each gesture from the dataset of amputee 1. Thus, the total number of sample points on the scatter plot is equal to 450 (muscle force levels × gesture × number of sample points for each movement = 3 × 6 × 25). First, 84-dimensional feature space associated with each force level was reduced to a 5-dimensional feature space using the SRDA. Thereafter, among this 5-dimensional feature space, the first two features (SRDA feature 1 and SRDA feature 2) were normalized and were used in scatter plots. The experimental results shown in Figure 5 indicate that the clustering performance (RES index) decreases with respect to the decrease of window length. It is also observed that there are some fluctuations in performance (RES index) when the window length is higher than 200 ms. The stochastic nature of the EMG signal may be a reason behind this fluctuation of clustering performance.

The Impact of Window Length on Clustering Performance
To determine the impact of variable window length on clustering performance, we vary the window length from 50 ms to 400 ms with an equal interval of 50 ms. Then, we observed the scatter plot and the RES index simultaneously, which is shown in Figure 5. In this performance evaluation, the scatter plot visualizes the clustering performance and the separation margin among the gestures, and the RES index indicates their quantitative value. However, to evaluate the performance, we employed 25 sample points for each gesture from the dataset of amputee 1. Thus, the total number of sample points on the scatter plot is equal to 450 (muscle force levels × gesture × number of sample points for each movement = 3 × 6 × 25). First, 84-dimensional feature space associated with each force level was reduced to a 5-dimensional feature space using the SRDA. Thereafter, among this 5-dimensional feature space, the first two features (SRDA feature 1 and SRDA feature 2) were normalized and were used in scatter plots. The experimental results shown in Figure 5 indicate that the clustering performance (RES index) decreases with respect to the decrease of window length. It is also observed that there are some fluctuations in performance (RES index) when the window length is higher than 200 ms. The stochastic nature of the EMG signal may be a reason behind this fluctuation of clustering performance.
show that there is an almost unique muscle activation pattern among the gestures associated with all force levels. Additionally, the logarithm discriminates more for low amplitude values and discriminates less for high amplitude values. Figure 4b shows a higher RES index than Figure 4a, which means that the margin among the gestures is increased. In addition to an improvement in separation margin, the nonlinear transformation also has a more compact cluster among the forces for each gesture.

The Impact of Window Length on Clustering Performance
To determine the impact of variable window length on clustering performance, we varies the window length from 50 ms to 400 ms with an equal interval of 50 ms. Then, we observed the scatter plot and the RES index simultaneously, which is shown in Figure 5. In this performance evaluation, the scatter plot visualizes the clustering performance and the separation margin among the gestures, and the RES index indicates their quantitative value. However, to evaluate the performance, we employed 25 sample points for each gesture from the dataset of amputee 1. Thus, the total number of sample points on the scatter plot is equal to 450 (muscle force levels × gesture × number of sample points for each movement = 3 × 6 × 25). First, 84-dimensional feature space associated with each force level was reduced to a 5-dimensional feature space using the SRDA. Thereafter, among this 5-dimensional feature space, the first two features (SRDA feature 1 and SRDA feature 2) were normalized and were used in scatter plots. The experimental results shown in Figure 5 indicate that the clustering performance (RES index) decreases with respect to the decrease of window length. It is also observed that there are some fluctuations in performance (RES index) when the window length is higher than 200 ms. The stochastic nature of the EMG signal may be a reason behind this fluctuation of clustering performance.

Training and Testing the Classifiers with Same Force Level (Case 1)
Training and testing the classifiers with the same force level is a common strategy t found in many studies. In this training and testing scheme, the average EMG pattern recognition performances across nine transradial amputees were evaluated by accuracy, sensitivity, specificity, precision, and F1 score, which are shown in Appendix A (Table  A1). In addition, the performances are also graphically shown in Figure 6 using the F1 score, since the F1 score is a combined outcome of sensitivity and precision. The experimental results imply that the proposed feature extraction method yields the highest EMG pattern recognition performance in terms of all performance evaluating parameters compared to those of the considered existing feature extraction methods. In this comparison, the recently proposed TSD yields the second-highest EMG pattern recognition performance. The proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.58, 1.73, 0.32, 1.42, and 1.77, respectively, when the SVM classifier is trained and tested with a medium force level. In addition, the proposed feature extraction method shows a consistency in the performance improvement when the LDA and the KNN are used. Moreover, the significant difference between the proposed feature extraction method and each of the existing feature extraction methods is

Training and Testing the Classifiers with Same Force Level (Case 1)
Training and testing the classifiers with the same force level is a common strategy found in many studies. In this training and testing scheme, the average EMG pattern recognition performances across nine transradial amputees were evaluated by accuracy, sensitivity, specificity, precision, and F1 score, which are shown in Appendix A (Table A1). In addition, the performances are also graphically shown in Figure 6 using the F1 score, since the F1 score is a combined outcome of sensitivity and precision. The experimental results imply that the proposed feature extraction method yields the highest EMG pattern recognition performance in terms of all performance evaluating parameters compared to those of the considered existing feature extraction methods. In this comparison, the recently proposed TSD yields the second-highest EMG pattern recognition performance. The proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.58, 1.73, 0.32, 1.42, and 1.77, respectively, when the SVM classifier is trained and tested with a medium force level. In addition, the proposed feature extraction method shows a consistency in the performance improvement when the LDA and the KNN are used. Moreover, the significant difference between the proposed feature extraction method and each of the existing feature extraction methods is also confirmed by the Bonferroni-corrected ANOVA. The obtained highest p-value is 1.55 × 10 −4 considering each of the performance-evaluating parameters with each classifier, which strongly indicate that the performance achieved by the proposed feature extraction method is significantly different from those of the other methods. also confirmed by the Bonferroni-corrected ANOVA. The obtained highest p-value is 4 1. 55 10   considering each of the performance-evaluating parameters with each classifier, which strongly indicate that the performance achieved by the proposed feature extraction method is significantly different from those of the other methods.

Training the Classifiers with a Single Force Level at a Time and Testing the Classifiers with all Three Force Levels (Case 2)
In this scheme (Case 2), the classifiers were trained with a single force level and then those were tested with that known force level used in training along with two other unknown force levels. The average performances for all performance evaluating parameters with standard deviation across nine amputees are represented in Appendix A (Table A2). The summary of Table A2 is also graphically shown in Figure 7, where the F1 score was employed only for simplicity. The experimental results show that unknown forces degrade the EMG pattern recognition performance compared to those obtained in Case 1. However, an interesting finding is that the classifiers can predict the unknown force levels as being low and high more effectively when the classifiers are trained with a medium force level. Additionally, in this single force level training scheme, the LDA and SVM classifiers yield almost the same EMG pattern recognition performances, which are slightly better than those obtained from the KNN classifier. However, even in the worst case, the proposed feature extraction method yields the highest EMG pattern recognition performance considering each performance evaluating parameters compared to those of other feature extraction methods. In the best case, when a medium force level training scheme is used, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 1.12, 3.35, 0.67, 2.86, and 3.30, respectively, when the proposed method is compared with those of the TSD and the SVM classifier. Therefore, the obtained p-values between the proposed method and the other methods considering each classifier are very small, and its values are smaller than

Training the Classifiers with a Single Force Level at a Time and Testing the Classifiers with All Three Force Levels (Case 2)
In this scheme (Case 2), the classifiers were trained with a single force level and then those were tested with that known force level used in training along with two other unknown force levels. The average performances for all performance evaluating parameters with standard deviation across nine amputees are represented in Appendix A (Table A2). The summary of Table A2 is also graphically shown in Figure 7, where the F1 score was employed only for simplicity. The experimental results show that unknown forces degrade the EMG pattern recognition performance compared to those obtained in Case 1. However, an interesting finding is that the classifiers can predict the unknown force levels as being low and high more effectively when the classifiers are trained with a medium force level. Additionally, in this single force level training scheme, the LDA and SVM classifiers yield almost the same EMG pattern recognition performances, which are slightly better than those obtained from the KNN classifier. However, even in the worst case, the proposed feature extraction method yields the highest EMG pattern recognition performance considering each performance evaluating parameters compared to those of other feature extraction methods. In the best case, when a medium force level training scheme is used, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 1.12, 3.35, 0.67, 2.86, and 3.30, respectively, when the proposed method is compared with those of the TSD and the SVM classifier. Therefore, the obtained p-values between the proposed method and the other methods considering each classifier are very small, and its values are smaller than 9.27 × 10 −4 , which ensures a significant improvement by the proposed feature extraction method.

Training the Classifiers with Any Two Force Levels at a Time and Testing the Classifiers with all Three Force Levels (Case 3)
The average EMG pattern recognition performances in terms of accuracy, sensitivity, specificity, precision, and F1 score for the proposed feature extraction method and those of the other well-known methods are shown in Appendix A (Table A3). In this case, the classifiers are trained with any two force levels and tested with all force levels. The EMG pattern recognition performances for different training pair of forces are graphically shown in Figure 8, where only a single parameter, the F1 score, is used for simplicity. The experimental results imply that, when the number of training force level is increased, the classifiers improve their pattern recognition performance in recognizing two known force levels used in training and an unknown force level. In this training case, we achieved an improvement in the F1 score by about 10% compared to that of Case 1. In this study, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.57, 1.73, 0.36, 1.66, and 1.74, respectively, when the SVM classifier is trained with low and high force levels and is tested with all force levels. In addition, the obtained p values between the proposed feature extraction method and each of the existing feature extraction methods considering each classifier are very low and the values are lower than

Training the Classifiers with Any Two Force Levels at a Time and Testing the Classifiers with All Three Force Levels (Case 3)
The average EMG pattern recognition performances in terms of accuracy, sensitivity, specificity, precision, and F1 score for the proposed feature extraction method and those of the other well-known methods are shown in Appendix A (Table A3). In this case, the classifiers are trained with any two force levels and tested with all force levels. The EMG pattern recognition performances for different training pair of forces are graphically shown in Figure 8, where only a single parameter, the F1 score, is used for simplicity. The experimental results imply that, when the number of training force level is increased, the classifiers improve their pattern recognition performance in recognizing two known force levels used in training and an unknown force level. In this training case, we achieved an improvement in the F1 score by about 10% compared to that of Case 1. In this study, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.57, 1.73, 0.36, 1.66, and 1.74, respectively, when the SVM classifier is trained with low and high force levels and is tested with all force levels. In addition, the obtained p-values between the proposed feature extraction method and each of the existing feature extraction methods considering each classifier are very low and the values are lower than 4.50 × 10 −6 , which shows a significant performance improvement by the proposed feature extraction method.

Training the Classifiers with all Three Force Levels and Testing the Classifiers with all Three Force Levels (Case 4)
In this case, all force levels were used to train and test the classifiers. Then, the EMG pattern recognition performances in terms of accuracy, sensitivity, specificity, precision, and the F1 score were evaluated for all considered feature extraction methods, which are shown in Appendix A (Table A4). The EMG pattern recognition performances are also graphically shown in Figure 9 using the F1 score only. Following the previous trend, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.57, 1.70, 0.33, 1.53, and 1.70, respectively, compared with those obtained from the TSD using the SVM classifier. In this study, the proposed method yields the highest F1 score of 89.06% with the SVM classifier. Therefore, ANOVA is performed between the proposed feature extraction method and each of the existing feature extraction methods for each classifier. The obtained p values are very small, and the values are smaller than 2 1.21 10   considering all of the cases, which confirms the significant performance improvement by the proposed feature extraction method.

Training the Classifiers with all Three Force Levels and Testing the Classifiers with All Three Force Levels (Case 4)
In this case, all force levels were used to train and test the classifiers. Then, the EMG pattern recognition performances in terms of accuracy, sensitivity, specificity, precision, and the F1 score were evaluated for all considered feature extraction methods, which are shown in Appendix A (Table A4). The EMG pattern recognition performances are also graphically shown in Figure 9 using the F1 score only. Following the previous trend, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.57, 1.70, 0.33, 1.53, and 1.70, respectively, compared with those obtained from the TSD using the SVM classifier. In this study, the proposed method yields the highest F1 score of 89.06% with the SVM classifier. Therefore, ANOVA is performed between the proposed feature extraction method and each of the existing feature extraction methods for each classifier. The obtained p-values are very small, and the values are smaller than 1.21 × 10 −2 considering all of the cases, which confirms the significant performance improvement by the proposed feature extraction method.

Training the Classifiers with all Three Force Levels and Testing the Classifiers with all Three Force Levels (Case 4)
In this case, all force levels were used to train and test the classifiers. Then, the EMG pattern recognition performances in terms of accuracy, sensitivity, specificity, precision, and the F1 score were evaluated for all considered feature extraction methods, which are shown in Appendix A (Table A4). The EMG pattern recognition performances are also graphically shown in Figure 9 using the F1 score only. Following the previous trend, the proposed feature extraction method improves the accuracy, sensitivity, specificity, precision, and the F1 score by 0.57, 1.70, 0.33, 1.53, and 1.70, respectively, compared with those obtained from the TSD using the SVM classifier. In this study, the proposed method yields the highest F1 score of 89.06% with the SVM classifier. Therefore, ANOVA is performed between the proposed feature extraction method and each of the existing feature extraction methods for each classifier. The obtained p values are very small, and the values are smaller than 2 1.21 10   considering all of the cases, which confirms the significant performance improvement by the proposed feature extraction method. To compare the amputee-wise performance among all considered feature extraction methods, we used the SVM classifier only since it provides better performance in most  Figure 10 implies that the proposed feature extraction method yields the highest performance (F1 score) in most of the amputees (except for TR6). However, in some amputees (TR1, TR7, and CG1), TSD yields a performance similar to that of the proposed feature extraction method. To compare the amputee-wise performance among all considered feature extraction methods, we used the SVM classifier only since it provides better performance in most cases. The obtained results shown in Figure 10 implies that the proposed feature extraction method yields the highest performance (F1 score) in most of the amputees (except for TR6). However, in some amputees (TR1, TR7, and CG1), TSD yields a performance similar to that of the proposed feature extraction method. Figure 10. The amputee-wise performance when the SVM is trained and tested with three forces.

Computational Time and Memory Size
To measure the computational load for each feature extraction method, we considered computational time and memory size [30,31]. We measured the computational time of each method using an Intel Core i3-7100U CPU with 2.40 GHz processor and 8 GB RAM; we used the MATLAB  2017a. The recorded computational times shown in Figure 11 demonstrate that the proposed feature extraction method requires the lowest time except for the TD. However, we know that TD offers a very low performance compared to those of the proposed method in all the cases. In addition to the computational time, we also computed the memory size used by each of the feature extraction methods; we used the MATLAB  2017a function (whos) for this purpose. Figure 12 shows that the proposed feature extraction method requires less memory than those required by TSD and Wavelet. Although TDPSD, TDF, AR-RMS, and TD require less memory than that required by the proposed feature extraction method, their EMG pattern recognition performances are lower than those of the proposed method. Therefore, we claim that the proposed feature extraction method is faster and requires less or compatible memory when recognition performance is taken into account. Therefore, the proposed method is suitable for real-time operation.  Figure 10. The amputee-wise performance when the SVM is trained and tested with three forces.

Computational Time and Memory Size
To measure the computational load for each feature extraction method, we considered computational time and memory size [30,31]. We measured the computational time of each method using an Intel Core i3-7100U CPU with 2.40 GHz processor and 8 GB RAM; we used the MATLAB ® 2017a. The recorded computational times shown in Figure 11 demonstrate that the proposed feature extraction method requires the lowest time except for the TD. However, we know that TD offers a very low performance compared to those of the proposed method in all the cases. In addition to the computational time, we also computed the memory size used by each of the feature extraction methods; we used the MATLAB ® 2017a function (whos) for this purpose. Figure 12 shows that the proposed feature extraction method requires less memory than those required by TSD and Wavelet. Although TDPSD, TDF, AR-RMS, and TD require less memory than that required by the proposed feature extraction method, their EMG pattern recognition performances are lower than those of the proposed method. Therefore, we claim that the proposed feature extraction method is faster and requires less or compatible memory when recognition performance is taken into account. Therefore, the proposed method is suitable for real-time operation. To compare the amputee-wise performance among all considered feature extraction methods, we used the SVM classifier only since it provides better performance in most cases. The obtained results shown in Figure 10 implies that the proposed feature extraction method yields the highest performance (F1 score) in most of the amputees (except for TR6). However, in some amputees (TR1, TR7, and CG1), TSD yields a performance similar to that of the proposed feature extraction method. Figure 10. The amputee-wise performance when the SVM is trained and tested with three forces.

Computational Time and Memory Size
To measure the computational load for each feature extraction method, we considered computational time and memory size [30,31]. We measured the computational time of each method using an Intel Core i3-7100U CPU with 2.40 GHz processor and 8 GB RAM; we used the MATLAB  2017a. The recorded computational times shown in Figure 11 demonstrate that the proposed feature extraction method requires the lowest time except for the TD. However, we know that TD offers a very low performance compared to those of the proposed method in all the cases. In addition to the computational time, we also computed the memory size used by each of the feature extraction methods; we used the MATLAB  2017a function (whos) for this purpose. Figure 12 shows that the proposed feature extraction method requires less memory than those required by TSD and Wavelet. Although TDPSD, TDF, AR-RMS, and TD require less memory than that required by the proposed feature extraction method, their EMG pattern recognition performances are lower than those of the proposed method. Therefore, we claim that the proposed feature extraction method is faster and requires less or compatible memory when recognition performance is taken into account. Therefore, the proposed method is suitable for real-time operation.

Discussion
Muscle force variation is a frequently used scenario in daily life. The amount of muscle force for a particular activity is set by the central nervous system (CNS), which is trained from our daily activities since childhood [27,55]. During muscle force variation, the CNS varies the time-and frequency-domain characteristics of the EMG signal, which in turn drastically varies the features that become unsuitable to achieve force-invariant EMG pattern recognition performance. Thus far, it is found that the EMG pattern recognition performance is significantly degraded when unknown force levels are used for testing [21][22][23]. The problem becomes more challenging when we consider amputees rather than intact-limb subjects [35,36].
In this study, we propose an improved force-invariant feature extraction method considering seven nonlinear features along with the CC, which is validated over nine transradial amputees and is compared with those of the six existing feature extraction methods considered. The proposed feature extraction method is an extension of the TSD and the TD [26,34], but it provides improved force-invariant EMG pattern recognition performance compared to those of the original works. In addition, the proposed feature extraction method requires less computational time than those required by other feature extraction methods except for the TD [19,25,26,32,33]. TD requires slightly less computational time than that of the proposed method, but the performance of the TD is very low and it cannot meet the criteria of a satisfactory performance [20]. In addition, the proposed feature extraction method also requires comparatively less memory than that required by the TSD and the Wavelet. Therefore, the proposed feature extraction method may be implemented using a microcontroller [30,31].
The proposed feature extraction method provides improved force-invariant pattern recognition performance due to the use of the higher-order indirect frequency information along with its moments, the nonlinear transformation of signals and the CC. The indirect frequency information of the higher-order differential signal is an important issue since the differential signal makes a nonlinear variation in frequency-domain, which in turn emphasizes the high-frequency EMG signal. Additionally, the nonlinear transformation balances the forces and enhances the separation margin among gestures. Finally, the CC measures the correlation between any two EMG channels, which has a great contribution to the improved force-invariant EMG pattern recognition obtained. The salient feature of CC is that it does not depend on the signal strength of each channel; in fact, it depends on the activity of the underlying active muscle. Hence, the CC values are varied with respect to the gesture only.
It is a challenging task to train the classifier by employing all possible force levels for each gesture such as how we utilize various force levels for each gesture in our daily activities [27]. In this context, the force-invariant EMG pattern recognition performance of

Discussion
Muscle force variation is a frequently used scenario in daily life. The amount of muscle force for a particular activity is set by the central nervous system (CNS), which is trained from our daily activities since childhood [27,55]. During muscle force variation, the CNS varies the time-and frequency-domain characteristics of the EMG signal, which in turn drastically varies the features that become unsuitable to achieve force-invariant EMG pattern recognition performance. Thus far, it is found that the EMG pattern recognition performance is significantly degraded when unknown force levels are used for testing [21][22][23]. The problem becomes more challenging when we consider amputees rather than intact-limb subjects [35,36].
In this study, we propose an improved force-invariant feature extraction method considering seven nonlinear features along with the CC, which is validated over nine transradial amputees and is compared with those of the six existing feature extraction methods considered. The proposed feature extraction method is an extension of the TSD and the TD [26,34], but it provides improved force-invariant EMG pattern recognition performance compared to those of the original works. In addition, the proposed feature extraction method requires less computational time than those required by other feature extraction methods except for the TD [19,25,26,32,33]. TD requires slightly less computational time than that of the proposed method, but the performance of the TD is very low and it cannot meet the criteria of a satisfactory performance [20]. In addition, the proposed feature extraction method also requires comparatively less memory than that required by the TSD and the Wavelet. Therefore, the proposed feature extraction method may be implemented using a microcontroller [30,31].
The proposed feature extraction method provides improved force-invariant pattern recognition performance due to the use of the higher-order indirect frequency information along with its moments, the nonlinear transformation of signals and the CC. The indirect frequency information of the higher-order differential signal is an important issue since the differential signal makes a nonlinear variation in frequency-domain, which in turn emphasizes the high-frequency EMG signal. Additionally, the nonlinear transformation balances the forces and enhances the separation margin among gestures. Finally, the CC measures the correlation between any two EMG channels, which has a great contribution to the improved force-invariant EMG pattern recognition obtained. The salient feature of CC is that it does not depend on the signal strength of each channel; in fact, it depends on the activity of the underlying active muscle. Hence, the CC values are varied with respect to the gesture only.
It is a challenging task to train the classifier by employing all possible force levels for each gesture such as how we utilize various force levels for each gesture in our daily activities [27]. In this context, the force-invariant EMG pattern recognition performance of our proposed feature extraction method shows good performance when we test the classifier with the gestures of an unknown force level (Case 2 and Case 3). The experimental results reveal that the proposed feature extraction method performs better in force-invariant EMG pattern recognition (Case 2 and Case 3) in terms of all performance evaluating parameters, i.e., accuracy, sensitivity, specificity, precision, and the F1 score. However, in this study, it is also observed that the proposed force-invariant feature extraction method does not yield EMG pattern recognition performance at a satisfactory level; this is due to the deformed structure of muscle of amputees and the lack of their proper training [35,36]. Therefore, the classifier is trained and tested with all force levels (Case 4); however, the robust character of the proposed feature extraction method is that it also performs better than those of existing feature extraction methods. In addition, the proposed feature extraction method performs better for regular EMG pattern recognition performance, when the classifier is trained and tested with one force levels (Case 1). In this training strategy, the performance obtained is much better (about 3 to 4 in the F1 score) than that of the classifier when trained and tested with all force levels (Case 4). The possible reason for degraded performance in Case 4 may be that the muscle activation pattern for each gesture of transradial amputees is not unique and is repetitive; that means that it does not follow the same manner among the force levels. Therefore, an amputee should be trained properly to achieve an improved EMG pattern recognition performance with respect to various force levels.
In this study, the performance of the proposed feature extraction method is evaluated with the LDA, SVM, and KNN classifiers with different training and testing cases. In all cases, the proposed feature extraction method shows consistently improved performance compared to those of existing feature extraction methods, which proves its robustness. Moreover, the lowest p-values between the proposed method and each of the methods also demonstrate the statistical significance of the experimental results. In this research, the LDA and the SVM classifiers show almost equal performances, which are slightly better than that for the KNN. However, the SVM classifier yields the highest F1 score of 89.06% with our proposed feature extraction method when the classifier is trained with three forces. The achieved performance is much better than the original work of the TDPSD, the TSD, and the recently proposed fractal feature set [19,26,56].
In this study, it is also observed that the classifiers yield the highest EMG pattern recognition performance when only medium force level, and combined low and high force levels are used to train the classifiers. It reveals that adjacent forces are highly interrelated, which may privilege the classifier for achieving the highest EMG pattern recognition performance. Therefore, it is suggested to train the classifier with such force levels that each testing force level is highly interrelated.
Another important point to note is that the traumatic amputees provide slightly better EMG pattern recognition performance than congenital amputees since they had intact limbs before the trauma occurred, and for this reason, they have better control over their muscle. However, regardless of the type of amputee, the proposed feature extraction method is promised to provide the highest or very close to the highest performance in all type of amputees.
In this study, we compared our proposed feature extraction method offline with respect to standard datasets collected from [19]. Real-time analysis with other amputees will be performed in future work.

Conclusions
In this research, a new time-domain feature extraction method is proposed to obtain improved force-invariant EMG pattern recognition performance. The proposed feature extraction method improves the performance across nine transradial amputees in terms of accuracy, sensitivity, specificity, precision, and F1 score. In addition to improved performance, it requires relatively less computational time and memory than others. In this study, the recently proposed method, TSD, provides the second-best performance after the proposed method, but it requires too much processing time and memory due to its high dimensional feature space. Moreover, Bonferroni-corrected ANOVA implies significant differences between the proposed method and the other methods. Therefore, the proposed feature extraction method is the best option to obtain improved force-invariant myoelectric pattern recognition using a microcontroller. H. Al-Timemy for making the EMG dataset publicly available on the website of Rami N. Khushaba. The website for the database is https://www.rami-khushaba.com/electromyogram-emg-repository. html (accessed on 7 May 2021).

Conflicts of Interest:
The authors declare no conflict of interest.