Next Article in Journal
High-Resolution Imaging for the Analysis and Reconstruction of 3D Microenvironments for Regenerative Medicine: An Application-Focused Review
Previous Article in Journal
A New Orthodontic-Surgical Approach to Mandibular Retrognathia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Electrodiagnosis of Carpal Tunnel Syndrome Using Machine Learning

by
Konstantinos I. Tsamis
1,2,*,†,
Prokopis Kontogiannis
3,†,‡,
Ioannis Gourgiotis
1,‡,
Stefanos Ntabos
1,‡,
Ioannis Sarmas
1 and
George Manis
3,*
1
Department of Neurology, University Hospital of Ioannina, 45110 Ioannina, Greece
2
Department of Physiology, Faculty of Medicine, School of Health Sciences, University of Ioannina, 45110 Ioannina, Greece
3
Department of Computer Science and Engineering, School of Engineering, University of Ioannina, 45110 Ioannina, Greece
*
Authors to whom correspondence should be addressed.
The two first authors have equally contributed to this work.
Affiliated with the Institution during the elaboration of this work.
Bioengineering 2021, 8(11), 181; https://doi.org/10.3390/bioengineering8110181
Submission received: 29 September 2021 / Revised: 22 October 2021 / Accepted: 5 November 2021 / Published: 10 November 2021

Abstract

:
Recent literature has revealed a long discussion about the importance and necessity of nerve conduction studies in carpal tunnel syndrome management. The purpose of this study was to investigate the possibility of automatic detection, based on electrodiagnostic features, for the median nerve mononeuropathy and decision making about carpal tunnel syndrome. The study included 38 volunteers, examined prospectively. The purpose was to investigate the possibility of automatically detecting the median nerve mononeuropathy based on common electrodiagnostic criteria, used in everyday clinical practice, as well as new features selected based on physiology and mathematics. Machine learning techniques were used to combine the examined characteristics for a stable and accurate diagnosis. Automatic electrodiagnosis reached an accuracy of 95% compared to the standard neurophysiological diagnosis of the physicians with nerve conduction studies and 89% compared to the clinical diagnosis. The results show that the automatic detection of carpal tunnel syndrome is possible and can be employed in decision making, excluding human error. It is also shown that the novel features investigated can be used for the detection of the syndrome, complementary to the commonly used ones, increasing the accuracy of the method.

1. Introduction

Carpal Tunnel Syndrome (CTS) is caused by compression of the median nerve as it travels through the carpal tunnel, formed by flexor retinaculum, while the other nerves of the hand (ulnar and radial) are not affected by the syndrome (Figure 1). It is the most common peripheral compression mononeuropathy and a significant cause of work disability, with almost 3% of the general population affected [1,2]. Compressing forces on the median nerve result in microvascular damage to the nerve and its myelin sheaths. Prolonged or repetitive compression results in inflammation, fibrosis and demyelination, which leads to disruptions in the speed of axonal signaling [3]. With persistent compression, the combination of these factors may lead to axonal degeneration [4]. The symptoms that define the syndrome are numbness and tingling in the median nerve distribution along with pain at the palmar side of the hand and the wrist. Symptoms typically start insidiously, during the night and they gradually exacerbate. These initial sensory symptoms are followed by weakness in grip and atrophy of thenar muscles if the condition remains untreated [5]. Moreover, the pain is frequently reported to spread proximally to the wrist up the arm and sensory symptoms are often described outside the typical median nerve distribution [6,7].
Clinical diagnosis of CTS is made with an accurate patient history describing a combination of the typical symptoms, along with physical examination of the hand and clinical provocative tests (Tinel’s sign, Phalen’s test and compression test) [8]. Final diagnosis and decisions about the further treatment of CTS is accomplished by the detection of median nerve mononeuropathy through the use of electrophysiological and imaging studies [9,10]. Imaging modalities, including magnetic resonance imaging and ultrasonography of the wrist, had low sensitivity and conflicting results, until recently, and they were not recommended for routine use in diagnosis [8]. However, improvements in ultrasound equipment and the training of physicians increased its sensitivity and specificity in the detection of median nerve mononeuropathy, making it a useful tool for diagnosis, as well as for the detection of anatomical abnormalities, contributing to median mononeuropathy [10,11,12,13]. Magnetic resonance imaging is a useful tool for the assessment of various traumatic and pathological conditions in the wrist and hand, including nerve mononeuropathy [14,15], but its routine use is not supported for the diagnosis of CTS [10].
On the other hand, electrophysiological Nerve Conduction Studies (NCSs) have long been considered the most useful tool for the confirmation of the median nerve mononeuropathy and the decision of therapeutic strategy in CTS [5]. Analysis of the median nerve motor and sensory conduction across the wrist compared to ulnar and radial nerve conduction is used to evaluate the functional result of median nerve compression [16]. Different parameters with comparable high sensitivities are included in NCSs depending mainly on the neurophysiologist’s experience [17]. The combination of these commonly used parameters for the neurophysiological testing, has led to the development of a grading scale widely accepted for the diagnosis and management decisions [18].
Nevertheless, many controversies have arisen regarding the necessity of NCSs as confirmatory tests or tools contributing to patient management [19,20,21,22]. These controversies emanate mainly by the rise of the time and the cost needed for the diagnosis of CTS with the use of NCSs [23,24], the discomfort caused to the patients by nerve stimulation, and the high rate of false positive and false negative results of NCSs along with the ease and the accuracy of clinical diagnosis in many cases with symptoms and signs typical of CTS [20]. Thus, the present study sought out to test the sensitivity of the different NCSs’ parameters for the diagnosis of CTS with a final goal to facilitate and accelerate the electrodiagnosis and make it more accurate.
Recently, machine learning based methods have found widespread use in healthcare, revolutionizing the area of medical diagnosis [25,26,27]. To this end, previous attempts for the automatic diagnosis of neuropathies and CTS through machine learning NCS signal processing have shown promising results [28,29]. However, these studies are focused exclusively in the analysis of motor nerve conduction parameters, having — in the case of CTS — the inherent drawback of the wide variation of compound muscle action potentials (CMAP) related to muscle contraction and hand position [30]. Furthermore, there is a number of hand-held devices developed for the diagnosis of peripheral neuropathies, but they employ analysis solely of specific signal characteristics carried out with restricted numbers of classifiers [31,32], resulting in very limited use in the diagnosis of CTS, indispensably together with thorough history and clinical examination [33,34]. This study aims to highlight the accuracy that can be reached in the automatic diagnosis of CTS by the analysis of diverse NCS signal characteristics with multiple classifiers.

2. Materials and Methods

The main target of this study is to evaluate the sensitivity of different NCSs’ parameters for the diagnosis of median nerve mononeuropathy and the ability of different classifiers to automatically discriminate normal and pathological values. Machine learning techniques were employed to examine signal characteristics and compute the accuracy of automatic classification.

2.1. Data

This study included 38 volunteers that were examined prospectively, over a period of two months, at the Laboratory of Clinical Neurophysiology, Neurological Department of the University Hospital of Ioannina. Among them, 28 participants were patients with symptoms and signs suggestive of CTS, who were referred to the laboratory by hospital physicians not affiliated to the study (neurologists, orthopedics and rheumatologists). Patients diagnosed with other neurological disorders apart from CTS (other neuropathies, radiculopathies, central nervous system lesions), as well as patients with other systemic diseases, were excluded from the study. Ten age-matched healthy individuals were also included in the study (Table 1).
All participants signed an informed consent form and underwent an initial clinical evaluation from two neurologists of the study for both hands, before neurophysiological testing. From the total number of hands examined (76), 65 were included in the study (46 with CTS and 19 control) and 11 hands were excluded because there was either a history of prior surgical intervention for CTS or a mismatch between clinical and neurophysiological diagnosis [13,35]. Clinical diagnosis of CTS for each hand was based on the following criteria: (a) hypesthesia or paresthesia in the distribution of the median nerve; (b) night paresthesia; (c) wrist and palm pain; (d) weakness or atrophy of the thenar musculature; (e) Tinel’s or Phalen’s signs. Each hand was clinically categorised into three groups. The first group, assigned as control, included 19 hands without any symptomatology. The second group, assigned as mild to moderate, included 27 hands with solely sensory symptomatology and pain. The third group, assigned as severe, included 19 hands that had developed weakness and/or thenar atrophy, apart from the sensory symptoms. Taking into account the inherent subjectivity of sensory symptomatology, we used the emergence of motor symptoms for the clinical categorization, modified from a previously described clinical scale [36].
A detailed neurophysiological examination of both hands was carried out on all participants using the same equipment (Dantec Keypoint, two channel EMG), as previously described [37]. The temperature of the upper limbs to be examined was acclimatized at 30–31 °C. Bilateral median motor nerve distal latency, median motor nerve conduction velocity from the elbow to the wrist, median sensory nerve conduction velocity from the wrist to the second and forth digits and motor and sensory action potential amplitude were measured. Bilateral radial nerve sensory and ulnar nerve motor and sensory conduction studies were also performed, in order to exclude other possible neuropathies and compare parameters to the median nerve. Based on the NCSs’ findings, the hands were categorized into four main groups, using a modification of the neurophysiological grading introduced by Bland JDP [18]. The first group included 19 hands without findings in NCSs suggestive of median nerve mononeuropathy (MM). This is the control group A (no MM). Group B (mild MM) included ten hands with sensory conduction velocity from index finger to wrist smaller than 40 m/s and motor terminal latency from wrist to Abductor Pollicis Brevis ( A P B ) smaller than 4.5 m/s. Group C (moderate MM) included 17 hands with motor terminal latency for A P B between 4.5 m/s and 6.5 m/s and preserved index finger SNAP (Sensory Nerve Action Potential). Group D (severe MM) included 19 hands with motor terminal latency for A P B > 4.5 m/s and absent SNAP or motor terminal latency larger than 6.5 m/s. With the symbol B C D we refer to the union of sets B, C and D. The participants of the study were carefully selected and each hand was finally included in the dataset only in the case of a perfect match between clinical diagnosis and NCSs, enabling a robust grouping of the hands and facilitating further accurate signal analysis and classification.

2.2. Methodology

Next, machine learning techniques were used to analyze those data and investigate the sensitivity of the signal characteristics and the ability to automatically discriminate controls and patients. Experiments were performed with two sets of features. The first one consisted of those features which are considered common and are widely used today by medical doctors and medical devices for the diagnosis of median nerve mononeuropathy. The purpose was to test whether it is possible to achieve a high level of accuracy in automatic diagnosis using machine learning classifiers and the widely used features. In order to decouple the classification capability from the selected classifiers, experiments were performed with five different classifiers, selected based on their popularity and the expected ability to achieve increased accuracy.
The second set of features consisted of novel features. The purpose this time was to identify new features which could carry useful diagnostic information and do not belong to the set of the common features; features which, if used in addition to the common ones, could possibly increase the classification capability of the machine learning classifiers. Features with physical or mathematical meanings were selected.
Finally, feature selection techniques were employed in order (a) to evaluate the level of significance of each feature in the automatic diagnostic procedure and (b) to help the classifiers present a better performance, a common practice in machine learning.

2.3. Signal Features

Features were separated into two subsections; one for the common features and one for the novel.

2.3.1. Common Features

The following common features were tested: Sensory Amplitude or Height ( H s , Figure 2), Sensory Maximum Value Amplitude ( H max s , Figure 2), Maximum minus Minimum Amplitude ( H max min s , Figure 2), Sensory Onset Latency ( L on s , Figure 3), Sensory Peak Latency ( L peak s , Figure 3), Sensory Onset to Peak Latency ( L on peak s , Figure 3), Sensory Conduction Velocity ( C V s ), Sensory Area ( A s , Figure 4), Motor Distal and/or Proximal Amplitude ( H m D , H m P ), Motor Distal and/or Proximal Takeoff Latency ( H takeoff m D , H takeoff m P ), and Motor Conduction Velocity ( C V m ).

2.3.2. Novel Features

Next, some features are presented, tested for the first time in this study for the diagnosis of CTS. The main goals and motivation to test these features were:
  • To investigate characteristics which have some inherent diagnostic information, not exploited by common features;
  • To explore features, which may reveal new diagnostic information, not easily predicted or explained by current knowledge. Such features should be further investigated with other studies and examined by a larger number of researchers, before reaching a conclusion about possible physical meaning;
  • To suggest features that do not heavily depend on the detection of critical points of the signal. This detection is now performed manually by the medical doctor, who indicates them with the aid of a pointing device. In this way, the extraction process is independent from the manual detection and excludes the human error.
The examined features are described below.
 (a)
Expanded Absolute Sensory Area ( | A e s | ):
A descriptive name for this feature is Expanded Absolute Sensory Area, a graphical example of which is shown in Figure 5. It consists of both the positive and the negative part of the curve. The negative part is treated as positive, considering the absolute values of the curve. There is a physical meaning behind this feature, since this small negative curve following the positive part of the curve corresponds to the repolarization of the membranes of the cell [38,39].
 (b)
Duration ( D s ) and Duration at Half Maximum ( D h / 2 s ):
D s is defined as the duration (the width in x-axis) of the signal between the onset and offset point of the curve. D s is shown in Figure 6.
D h / 2 s is defined as the duration of the signal between the points where the y-values are taking the half of the maximum value, as also shown in Figure 6. Compared to D s , D h / 2 s provides additional and complementary information, since it also takes into account the height of the wave as well as its shape, since an acute wave will give a smaller value of D h / 2 s than a less acute one.
 (c)
Areas and their ratios:
In Figure 7, the definition of the four main subareas is presented. The areas are defined by the line between the points where the y-values take the half of the maximum value (used for the definition of D h / 2 s ) and perpendicular to the x-axis line, crossing the peak point. The following four subareas are defined: Upper Left Area, Lower Left Area, Upper Right Area an Lower Right Area. From these partitions, the following areas are defined: the Left Area as the sum of Upper and Lower Left areas and the Right Area as the sum of Upper and Lower Right areas, Upper Area as the sum of Upper Left and Upper Right areas and Lower Area as the sum of the Lower Left and Lower Right Areas. All possible ratios between any two of the above areas were also considered as features. In addition, the ratio between each of the above areas over the total area under the curve was also examined.
Areas are of special interest. They not only describe single features as the duration or the height, but they also consider relations between figures, since their values depend on the duration, height and the shape of the curve. Even though sub areas cannot be directly connected to physiology, it cannot be ignored that valuable information can be hidden there. This information is very difficult to explain, since, as noted above, it depends on more than one factor. The rations between areas, especially, could hide information that is even more complicated and difficult connect to physiological reasons.
 (d)
Slopes:
Two kinds of slopes have been examined for both left and right sides of the curve. θ left is the angle of the line that connects the onset and the peak points (Figure 8):
tan θ left = f peak f onset x peak x onset .
A similar definition comes from the right side of each curve:
tan θ right = f offset f peak x offset x peak .
The fitting slope is also an interesting feature. The Fitting slope is the line that best fits all the data points of the left ( F left ) and then of the right ( F left ) sides of the curve, using regression analysis (Figure 9). The fitting slope is of special interest, since its computation is almost independent from the human error. A reasonable lack of accuracy in the detection of the onset and offset points does not affect the computed value of F left or F right .

2.4. Processing

The level of noise was much higher in sensory than in motor signals. A moving window average technique was used to smooth the signal and a detrending one to remove the effect of isoelectric line drift.
Critical points were detected on the smoothed signal and were then projected back to the original one. The peak point and the lowest one were first and easiest to locate using maximum and minimum values in a time frame after the initial stimulus. Then, starting from the peak point, and moving backward, the onset point was detected, exploiting the sharp change of the slope in this part of the curve. The slope threshold was set experimentally, common for all signals. In a similar way, the computation of the offset started from the lowest point and moved forward until the change in the slope indicated the offset point. The detection of the offset point and the peak and lowest points was more accurate than the estimation of the offset point, something that was concluded after visual inspection.
The critical points were used for the computation of the features discussed earlier, in Section 2.3. Features were fed as input to five classifiers. State-of-the-art machine learning algorithms were selected: Decision Trees (DT), Support Vector Machines (SVM), k-Nearest Neighbors (kNN), Naive–Bayes (NB) and Logistic Regression (LR). Thirty four features were defined (common and novel) and each feature was computed for eight different signals of every hand. These signals include the sensory conduction of the median nerve on the second and fourth digits, the sensory conduction of the ulnar nerve on the fourth and fifth digits, and the motor conduction of median and ulnar nerves on proximal and distal stimulation. So, the total number of features extracted from each hand is 34 × 8 = 272 , which is a very large number of features for a classifier. If 30 features were added to this number, which were computed as differences of some of those 272 features, a total number of 302 features is reached.
Thus, in order to reduce the number of features and assist the classifiers to optimize their accuracy, feature selection and parameter tuning were applied. Given the large number of features and the relatively small number of recordings, a custom feature selection and parameter tuning technique was selected.
All classifiers were trained and tested separately with one feature as input each time and for a reasonable range of parameters. For example, for the 3-class problem and for SVM with an RBF kernel, the values 0.1 c 3 were checked with step 0.1 , a range that seemed adequate enough, according to the variation of accuracy values computed. The value c = 0.9 seemed to be the best one, based on the number of features presenting high accuracy with this value. For NN, and the same problem, the values 1 n n 11 were checked and the best value appeared to be n n = 5 .
Using the selected parameters, each classifier was trained again. A custom sequential feature selection technique was applied, using NN and SVM. The custom feature selection technique was based on the sequential backward feature selection (SBS) and the sequential backward feature selection (SFS) algorithms [40]. In each step of SBS, the feature causing the maximum performance loss gets removed, while in each step of SFS the feature adding the maximum to the performance is added. The custom version combines those two algorithms and consists of two phases. In the first phase, an initial set of features consisted of all extracted features was considered. After each time excluding one of the features from this set, the performance of both classifiers was tested. If none of the two classifiers had improved its performance, the specific feature was excluded from the set. In the second phase, the initial set was defined as the set with those features which were not eliminated during the first phase. Starting by adding, one by one, each excluded feature, and following the same order as the previous phase, the performance of the two classifiers was tested again. Those features that increased the performance of at least one classifier were considered significant.
For training and testing leave-one-out cross validation was selected, a technique appropriate when the amount of available data is not large. K-fold cross validation is called the technique of partitioning the dataset into k subsets of equal size. One of these subsets is used as test data and the other k 1 subsets are used as training data. The validation process is being repeated k times, since each subset must play the role of the test data exactly once. In the special case where k = N (N: number of instances), the k-fold cross validation is induced to leave-one-out cross validation.

3. Results

Experiments were performed with five classifiers (LR, SVM, kNN, DT, NB) in order to decouple the classification capability of each classifier from the results. The dataset was segregated into several subsets and different problems were studied based on this segregation. Their names were given based on the number of the classes that were attempted to be discriminated: 4-class, 3-class and 2-class. In the 4-class problem, the categorization between the groups A (no MM), B (mild MM), C (moderate MM) and D (severe MM) was studied. Please also see Section 2 for the definition of those subsets. In the 3-class problem, the groups B and C were merged and the categorization between groups A, B C (mild and moderate) and D (severe) was studied. Finally, in the 2-class problem, all groups with symptoms (B,C,D) were merged into one B C D and controls (A) and patients ( B C D ) were compared.
The configuration for each classifier was different for every problem and the parameters were selected after experimentation. For example, for the 3-class and 4-class problems, the RBF kernel was proved best for the SVM classifier with C = 0.9 . For the 2-class problem, the linear SVM presented the most accurate classification. When the NN classifier was used, the best results were achieved for n n = 5 .
For all problems, the common features and the novel features were studied separately and how all features work together was investigated, in comparison with the standard neurophysiological diagnosis of the physicians with NCSs. There is, however, an inevitable bias on common features, given that the electrodiagnosis has been based on them.
The same experiments were performed on the clinical grading. The purpose of these experiments was to evaluate all features in correlation with clinical symptoms and not just to the electrodiagnosis. Clinical evaluation is considered the gold standard for the diagnosis of CTS and does not always correlate absolutely with NCSs’ findings. Thus, the comparison of common and novel features upon the field of clinical grading is necessary and very interesting.
Results are presented in Table 2, Table 3 and Table 4. On the third column, the classification accuracy of the common features is shown. Bold letters indicate the best performing classifier.
As accuracy, we consider the fraction of the successfully classified subjects over the total number of subjects:
a c c u r a c y = s u c c e s s f u l l y _ c a t e g o r i z e d _ s u b j e c t s a l l _ s a m p l e s = t r u e _ p o s s i t i v e + t r u e _ n e g a t i v e a l l _ s a m p l e s .
The accuracy of the novel features can be found in the fourth column and in the classification of all features in the last column. Each line of a table corresponds to a different classifier. As described in Section 2, clinical categorization classified the study population into three groups, so it was not included in the 4-class problem experiments. For the 3-class and the 2-class problems, comparisons with the clinical symptoms were also included and are shown in the lower part of the tables.
For the 4-class problem presented in Table 2, one can notice that the novel features achieved a much lower accuracy. This is expected, not only for the 4-class problem, but also for the 2 and 3-class problems. It should be emphasized here that subjects have been classified by the medical doctor using the common criteria. So, there is a bias in the comparison between common and novel features against the novel ones, since the system is trained with expertise extracted with the common criteria. This is why in Table 2, Table 3 and Table 4 the common criteria present better categorization. However, when both common and novel criteria are used as inputs to the classifier, the total accuracy (last column in these tables) is almost always improved, indicating the benefits of using both common and novel criteria in the automatic electrodiagnosis.
In the 3-class problem (Table 3), the novel features also ameliorated the performance of the models if put together with the common features. Apart from that, they performed better than the common features in the field of clinical grading for most classifiers. This is also very important, if one considers that the medical doctors’ diagnosis has been based mainly on the common features.
With the experiments comparing patients to control group (Table 4), which correspond to the 2-class problem, the addition of the novel features could also ameliorate the performance of most classifiers. It also performed better on the field of clinical grading than the common features for most of the classifiers.
From all three tables, one can notice that SVM presents the highest accuracy among all examined classifiers, with a small insignificant exception. The inclusion of novel characteristics improved SVM’s performance in almost all cases. In the field of clinical grading, the novel features performed better than the common features, and improved the performance of SVM both in the 3-class and the 2-class problems.
In Table 5, the accuracy of two of the classifiers is presented, when a single feature is used as an input. This table shows the effectiveness of each feature, which can be compared with the entire feature set for each feature category (Table 2, Table 3 and Table 4). Since the number of the features used was very large, the table includes only the features selected by the feature selection process and some of the best, but not selected, features from each group.
Finally, confusion matrices (Table 6) from the two class problem and the best performing classifier are presented. The best performing classifier was the DT for the common features and SVM when the novel or all features were used. Matrices show how many hands which were predicted positive/negative were actually positive/negative. For example, in the third matrix of Table 6, for the 44 hands predicted positive, all 44 were actually positive and from the 21 hands predicted to be negative, 19 were actually negative, but two were positive. This corresponds to a rate of 1 and 0.995 , respectively. Looking at the matrix from the other side, from the 46 hands which were actual positive, two of them were predicted to be negative and 44 positive with a success rate of 0.957 . All actual negative hands were predicted correctly (rate:1).

4. Discussion

Recent literature has revealed a long discussion about the importance and necessity of NCSs in CTS management. Laboratory findings supporting clinical diagnosis are necessary for decision making about further management in CTS, especially when invasive treatment is needed [41]. To date, the most reliable diagnostic tool for CTS is electrodiagnosis, but its usability is being questioned due to the rise in the time and the cost needed for the diagnosis, with the employment of NCSs, as well as the emergence of ultrasonography as an alternative [23,24]. In this study, the parameters of the NCSs that are currently widely used for the diagnosis of median nerve mononeuropathy were evaluated. New features of the waveforms that could ameliorate the accuracy of NCSs were tested. These features describe the right side of the signal curves that is related to the repolarization of axons. The repolarization processes can be affected in nerve injury [42] and current diagnostic use of NCS for CTS does not include these parameters.
Machine learning algorithms with five classifiers (LR, SVM, kNN, DT, NB) were employed in the NCS signal analysis and the results were compared to the neurophysiological and clinical diagnosis. Automated discrimination between patients and controls, with the most accurate classifier (SVM), reached an accuracy of 0.9513 compared to NCS and 0.8906 compared to clinical diagnosis. Further analysis with SVM and classification into three groups (control group, patients with mild and moderate CTS, patients with severe CTS) reached an accuracy of 0.9415 compared to NCS and 0.7144 compared to clinical diagnosis. Finally, SVM performed equally well in the classification of the study population into four groups (control group, patients with mild CTS, patients with moderate CTS and patients with severe CTS), with an accuracy of 0.9117 compared to NCS. Comparing the maximum accuracy of the present study with other studies in the literature [28,32,43], it is evident that the methodology described here has superior results, keeping in mind that the comparison concerns studies with differences in the dataset and the experimental configuration.
Currently, NCS is considered the gold standard for the confirmation of median nerve mononeuropathy in the CTS. The aim of the present study is to find a methodology to enable automatic diagnosis through the analysis of conventional electrodiagnosis signals with machine learning techniques. This would facilitate and accelerate the electrodiagnosis, excluding the human error. The results show that the inclusion of the novel features described here can increase the accuracy of the automatic electrodiagnosis, when they are used together with the common features. So, the inclusion of the novel features does not aim to replace the common features but to enhance their performance.

5. Conclusions

The findings of this study show that an accurate automatic electrodiagnosis for median nerve mononeuropathy is possible. Apart from testing the accuracy of the common NCSs’ features, several geometric features with indicated physiological meaning for median nerve compression were extracted and presented. These features are employed for the first time in the workup of CTS. The classification model proposed is unbiased and indicates that these features can play an important role in supporting the diagnosis of the syndrome and grading its severity. However, the evaluation of the results through a larger database of CTS patients would be useful, in order to establish an accurate grading scale and produce more robust generalizations. Such a grading scale could serve as a basis for an automatic electrodiagnosis, excluding the human error, implemented in costume electrophysiological testing or hand-held devices.

Author Contributions

Conceptualization, P.K., K.I.T., I.S. and G.M.; methodology, K.I.T. and G.M.; software, P.K.; data curation, K.I.T., I.S., I.G. and S.N.; writing, K.I.T. and G.M.; supervision, K.I.T. and G.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki and approved by the Ethics Committee of the University Hospital of Ioannina 29615/24-11-2016.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

All NCSs data of the study are freely available upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CTSCarpal Tunnel Syndrome
NCSNerve Conduction Studies
MMMedian Nerve Mononeuropathy
kNNk-Nearest Neighbors
DTDecision Trees
SVMSupport Vector Machines
NBNaive–Bayes
LRLogistic Regression
FDHMFull Duration Half Maximum

References

  1. de Krom, M.; Knipschild, P.; Kester, A.; Thijs, C.; Boekkooi, P.; Spaans, F. Carpal tunnel syndrome: Prevalence in the general population. J. Clin. Epidemiol. 1992, 45, 373–376. [Google Scholar] [CrossRef]
  2. Atroshi, I.; Gummesson, C.; Johnsson, R.; Ornstein, E.; Ranstam, J.; Rosen, I. Prevalence of carpal tunnel syndrome in a general population. JAMA 1999, 282, 153–158. [Google Scholar] [CrossRef]
  3. Rempel, D.; Diao, E. Entrapment neuropathies: Pathophysiology and pathogenesis. J. Electromyogr. Kinesiol. 2004, 14, 71–75. [Google Scholar] [CrossRef] [PubMed]
  4. Doughty, C.; Bowley, M. Entrapment Neuropathies of the Upper Extremity. Med. Clin. N. Am. 2019, 103, 357–370. [Google Scholar] [CrossRef]
  5. Padua, L.; Coraci, D.; Erra, C.; Pazzaglia, C.; Paolasso, I.; Loreti, C.; Caliandro, P.; Hobson-Webb, L. Carpal tunnel syndrome: Clinical features, diagnosis, and management. Lancet Neurol. 2016, 15, 1273–1284. [Google Scholar] [CrossRef]
  6. Zanette, G.; Marani, S.; Tamburin, S. Extra-median spread of sensory symptoms in carpal tunnel syndrome suggests the presence of pain-related mechanisms. Pain 2006, 122, 264–270. [Google Scholar] [CrossRef]
  7. Zanette, G.; Marani, S.; Tamburin, S. Proximal pain in patients with carpal tunnel syndrome: A clinical-neurophysiological study. J. Peripher. Nerv. Syst. 2007, 12, 91–97. [Google Scholar] [CrossRef]
  8. Keith, M.; Masear, V.; Chung, K.; Maupin, K.; Andary, M.; Amadio, P.; Watters, W.; Goldberg, M.; Haralson, R.; Turkelson, C.; et al. American Academy of Orthopaedic Surgeons Clinical Practice Guideline on diagnosis of carpal tunnel syndrome. J. Bone Jt. Surg. 2009, 91, 2478–2479. [Google Scholar] [CrossRef] [PubMed]
  9. Pimentel, B.; Faloppa, F.; Tamaoki, M.; Belloti, J. Effectiveness of ultrasonography and nerve conduction studies in the diagnosing of carpal tunnel syndrome: Clinical trial on accuracy. BMC Musculoskelet. Disord. 2018, 19, 115. [Google Scholar] [CrossRef]
  10. Graham, B.; Peljovich, A.E.; Afra, R.; Cho, M.S.; Gray, R.; Stephenson, J.; Gurman, A.; MacDermid, J.; Mlady, G.; Patel, A.T.; et al. The American Academy of Orthopaedic Surgeons Evidence-Based Clinical Practice Guideline on: Management of Carpal Tunnel Syndrome. J. Bone Jt. Surg. 2016, 98, 1750–1754. [Google Scholar] [CrossRef]
  11. Jarvik, J.; Yuen, E.; Haynor, D.R.; Bradley, C.M.; Fulton-Kehoe, D.; Smith-Weller, T.; Wu, R.; Kliot, M.; Kraft, G.; Wang, L.; et al. MR nerve imaging in a prospective cohort of patients with suspected carpal tunnel syndrome. Neurology 2002, 58, 1597–1602. [Google Scholar] [CrossRef] [PubMed]
  12. Claes, F.; Kasius, K.M.; Meulstee, J.; Verhagen, W. Comparing a new ultrasound approach with electrodiagnostic studies to confirm clinically defined carpal tunnel syndrome: A prospective, blinded study. Am. J. Phys. Med. Rehabil. 2013, 92, 1005–1011. [Google Scholar] [CrossRef] [PubMed]
  13. Fowler, J.; Munsch, M.; Tosti, R.; Hagberg, W.; Imbriglia, J. Comparison of ultrasound and electrodiagnostic testing for diagnosis of carpal tunnel syndrome: Study using a validated clinical tool as the reference standard. J. Bone Jt. Surg. 2014, 96, e148. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Vassa, R.; Garg, A.; Omar, I.M. Magnetic resonance imaging of the wrist and hand. Pol. J. Radiol. 2020, 85, 461–488. [Google Scholar] [CrossRef]
  15. Ng, A.W.H.; Griffith, J.F.; Tong, C.S.L.; Law, E.K.C.; Tse, W.L.; Wong, C.W.Y.; Ho, P.C. MRI criteria for diagnosis and predicting severity of carpal tunnel syndrome. Skelet. Radiol. 2020, 49, 397–405. [Google Scholar] [CrossRef]
  16. Werner, R.; Andary, M. Carpal tunnel syndrome: Pathophysiology and clinical neurophysiology. Clin. Neurophysiol. 2002, 113, 1373–1381. [Google Scholar] [CrossRef]
  17. Kodama, M.; Tochikura, M.; Sasao, Y.; Kasahara, T.; Koyama, Y.; Aono, K.; Fujii, C.; Shimoda, N.; Kurihara, Y.; Masakado, Y. What is the most sensitive test for diagnosing carpal tunnel syndrome? Tokai J. Exp. Clin. Med. 2014, 39, 172–177. [Google Scholar]
  18. Bland, J. A neurophysiological grading scale for carpal tunnel syndrome. Muscle Nerve 2000, 23, 1280–1283. [Google Scholar] [CrossRef]
  19. Bland, J. Nerve Conduction Studies for Carpal Tunnel Syndrome: Gold Standard or Unnecessary Evil? Orthopedics 2017, 40, 198. [Google Scholar] [CrossRef] [Green Version]
  20. Fowler, J. Nerve Conduction Studies for Carpal Tunnel Syndrome: Gold Standard or Unnecessary Evil? Orthopedics 2017, 40, 141–142. [Google Scholar] [CrossRef] [Green Version]
  21. Magnussen, M.; Morren, J. Electrodiagnostic Testing in the Diagnosis and Management of Carpal Tunnel Syndrome. Orthopedics 2017, 40, 263. [Google Scholar] [CrossRef] [Green Version]
  22. Babaei-Ghazani, A.; Roomizadeh, P. The Role of Electrodiagnostic Studies in Carpal Tunnel Syndrome: Beyond Confirmation of Diagnosis. Orthopedics 2018, 41, 67. [Google Scholar] [CrossRef] [Green Version]
  23. Fowler, J.R.; Maltenfort, M.G.; Ilyas, A.M. Ultrasound as a First-line Test in the Diagnosis of Carpal Tunnel Syndrome: A Cost-effectiveness Analysis. Clin. Orthop. Relat. Res. 2013, 471, 932–937. [Google Scholar] [CrossRef] [Green Version]
  24. Usón, M.; Alvárez, F.; Figuerola, A.; Ballabriga, J.; Espino, A. Cost effectiveness analysis of the diagnosis of carpal tunnel syndrome using electrophysiological studies. Neurologia 2008, 23, 419–426. [Google Scholar]
  25. Richens, J.G.; Lee, C.M.; Johri, S. Improving the accuracy of medical diagnosis with causal machine learning. Nat. Commun. 2020, 11, 3923. [Google Scholar] [CrossRef]
  26. Esteva, A.; Robicquet, A.; Ramsundar, B.; Kuleshov, V.; DePristo, M.; Chou, K.; Cui, C.; Corrado, G.; Thrun, S.; Dean, J. A guide to deep learning in healthcare. Nat. Med. 2019, 25, 24–29. [Google Scholar] [CrossRef]
  27. Bhavsar, K.A.; Abugabah, A.; Singla, J.; AlZubi, A.A.; Bashir, A.K.; Nikita. A Comprehensive Review on Medical Diagnosis Using Machine Learning. Comput. Mater. Contin. 2021, 67, 1997–2014. [Google Scholar] [CrossRef]
  28. Alcan, V.; Kaya, H.; Zinnuroglu, M.; Karataş, G.K.; Canal, M.R. A novel approach to the diagnostic assessment of carpal tunnel syndrome based on the frequency domain of the compound muscle action potential. Biomed. Eng. Biomed. Tech. 2020, 65, 61–71. [Google Scholar] [CrossRef]
  29. Liu, T.; Li, Z.; Tang, Y.; Yang, D.; Jin, S.; Guan, J. The Application of the Machine Learning Method in Electromyographic Data. IEEE Access 2020, 8, 9196–9208. [Google Scholar] [CrossRef]
  30. Kim, B.J.; Date, E.S.; Park, B.K.; Choi, B.Y.; Lee, S.H. Physiologic changes of compound muscle action potentials related to voluntary contraction and muscle length in carpal tunnel syndrome. J. Electromyogr. Kinesiol. 2005, 15, 275–281. [Google Scholar] [CrossRef]
  31. Tan, V.; Sandford, F.; Stevenson, M.; Probert, S.; Sanders, S.; Mills, K.R.; Koutroumanidis, M. Hand-held nerve conduction device in carpal tunnel syndrome: A prospective study. Muscle Nerve 2012, 45, 635–641. [Google Scholar] [CrossRef] [PubMed]
  32. Leffler, C.; Gozani, S.N.; Nguyen, Z.Q.; Cros, D. An Automated Electrodiagnostic Technique for Detection of Carpal Tunnel Syndrome. Neurol. Clin. Neurophysiol. 2000, 3, 3A. [Google Scholar] [CrossRef]
  33. Ahmed, A.; Kothari, M.J. The true utility and indication for hand-held nerve conduction devices. Muscle Nerve 2012, 27, 378–385. [Google Scholar] [CrossRef] [PubMed]
  34. David, W.S.; Chaudhry, V.; Dubin, A.H.; Shields, R.W. Literature review: Nervepace digital electroneurometer in the diagnosis of carpal tunnel syndrome. Muscle Nerve 2003, 45, 621–622. [Google Scholar] [CrossRef] [PubMed]
  35. Homan, M.; Franzblau, A.; Werner, R.; Albers, J.; Armstrong, T.; Bromberg, M. Agreement between symptom surveys, physical examination procedures and electrodiagnostic findings for the carpal tunnel syndrome. Scand. J. Work. Environ. Health 1999, 25, 115–124. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Eren, Y.; Yavasoglu, N.; Comoglu, S. The relationship between QDASH scale and clinical, electrophysiological findings in carpal tunnel syndrome. Adv. Clin. Exp. Med. 2018, 27, 71–75. [Google Scholar] [CrossRef] [Green Version]
  37. Alanazy, M. Clinical and electrophysiological evaluation of carpal tunnel syndrome: Approach and pitfalls. Neurosciences 2017, 22, 169–180. [Google Scholar] [CrossRef] [Green Version]
  38. Quandt, F.N.; Davis, F.A. Action potential refractory period in axonal demyelination: A computer simulation. Biol. Cybern. 1992, 67, 545–552. [Google Scholar] [CrossRef]
  39. Ferrante, M.; Spiegelberg, T.; Tsao, B. Principles of Nerve Conduction Studies and Needle EMG. In Proceedings of the AANEM Regional Review Seminar, Phoenix, AZ, USA, 14–15 August 2015. [Google Scholar]
  40. Kudo, M.; Sklansky, J. Comparison of algorithms that select features for pattern classifiers. Pattern Recognit. 2000, 33, 25–41. [Google Scholar] [CrossRef]
  41. Sonoo, M.; Menkes, D.; Bland, J.; Burke, D. Nerve conduction studies and EMG in carpal tunnel syndrome: Do they add value? Clin. Neurophysiol. Pract. 2018, 3, 78–88. [Google Scholar] [CrossRef]
  42. McCallum, J.B.; Kwok, W.M.; Sapunar, D.; Fuchs, A.; Hogan, Q.H. Painful Peripheral Nerve Injury Decreases Calcium Current in Axotomized Sensory Neurons. Anesthesiology 2006, 105, 160–168. [Google Scholar] [CrossRef] [PubMed]
  43. Tolonen, U.; Kallio, M.; Ryhänen, J.; Raatikainen, T.; Honkala, V.; Lesonen, V. A handheld nerve conduction measuring device in carpal tunnel syndrome. Acta Neurol. Scand. 2007, 115, 390–397. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Nerves of the wrist and hand. Note the position of the median nerve under the flexor retinaculum. Reproduced with permission from www.kenhub.com, accessed on 1 August 2021.
Figure 1. Nerves of the wrist and hand. Note the position of the median nerve under the flexor retinaculum. Reproduced with permission from www.kenhub.com, accessed on 1 August 2021.
Bioengineering 08 00181 g001
Figure 2. Several features related to definitions about amplitude.
Figure 2. Several features related to definitions about amplitude.
Bioengineering 08 00181 g002
Figure 3. Several features related to definitions about duration.
Figure 3. Several features related to definitions about duration.
Bioengineering 08 00181 g003
Figure 4. The area under the curve.
Figure 4. The area under the curve.
Bioengineering 08 00181 g004
Figure 5. The expanded absolute area.
Figure 5. The expanded absolute area.
Bioengineering 08 00181 g005
Figure 6. Features related to duration.
Figure 6. Features related to duration.
Bioengineering 08 00181 g006
Figure 7. Several features related to definitions about subareas.
Figure 7. Several features related to definitions about subareas.
Bioengineering 08 00181 g007
Figure 8. Features related to slopes based on onset, offset and peak points.
Figure 8. Features related to slopes based on onset, offset and peak points.
Bioengineering 08 00181 g008
Figure 9. Features related to slopes based on regression.
Figure 9. Features related to slopes based on regression.
Bioengineering 08 00181 g009
Table 1. Characteristics of the study population.
Table 1. Characteristics of the study population.
Characteristics 1 Patients (n = 28)Controls (n = 10)
Women25 (89%)7 (70%)
Age (years) 47.93 ± 12.92 41.3 ± 9.14
Weight (kgr) 72.55 ± 13.97 66.50 ± 10.23
Height (cm) 163.35 ± 7.68 166 ± 8.94
BMI 2 (kg/cm 2 ) 27.23 ± 5.15 24.13 ± 3.16
1 There is no statistically significant difference between the groups. 2 Body Mass Index.
Table 2. Four-class Problem Classification Accuracy.
Table 2. Four-class Problem Classification Accuracy.
CommonNovelAll
NCSLR0.71230.54550.7792
SVM0.82430.73880.9117
kNN0.66230.57140.7403
DT0.70680.63640.8182
NB0.80920.71430.8701
Table 3. Three-class Problem Classification Accuracy.
Table 3. Three-class Problem Classification Accuracy.
CommonNovelAll
NCSLR0.81720.63640.8312
SVM0.94040.86220.9415
kNN0.72080.66540.7922
DT0.80520.83020.8117
NB0.90130.74030.8961
ClinicalLR0.51950.59090.5519
SVM0.68670.71870.7144
kNN0.53950.51690.5610
DT0.55390.72730.5649
NB0.65490.56420.6594
Table 4. Two-class Problem Classification Accuracy.
Table 4. Two-class Problem Classification Accuracy.
CommonNovelAll
NCSLR0.80520.81820.8377
SVM0.95130.90770.9692
kNN0.84710.84420.8805
DT0.95380.87010.9481
NB0.94810.81420.9091
ClinicalLR0.79570.82470.7403
SVM0.86910.87480.8906
kNN0.74030.83120.8701
DT0.77920.74380.8571
NB0.85320.79260.8172
Table 5. Accuracy achieved by each feature separately.
Table 5. Accuracy achieved by each feature separately.
kNNSVM
from feature selection:2-class3-class4-class2-class3-class4-class
Median Sensory Onset Latency Digit 40.890.840.810.880.840.78
Median Sensory Conduction Velocity Digit 40.870.790.740.840.810.75
Median Sensory Max Amplitude Digit 40.820.580.500.810.590.58
Median Motor Take-off Latency0.870.750.660.850.780.73
Median Motor Right Area0.660.530.520.750.510.50
Median Sensory Right Tangent Theta Digit 40.760.630.620.760.690.64
Med/Uln Difference Sensory FDHM Digit 40.640.340.260.660.420.25
common features:2-class3-class4-class2-class3-class4-class
Median Motor Amplitude0.570.320.400.660.400.39
Median Sensory Area Digit 40.740.480.390.720.550.48
novel features:2-class3-class4-class2-class3-class4-class
Median Motor Left Area0.670.420.350.680.380.37
Median Motor Left Slope0.750.590.530.710.620.60
Median Motor Right Area0.750.430.330.700.490.30
Table 6. Confusion matrices for the 2-class problem.
Table 6. Confusion matrices for the 2-class problem.
DT/CommonPredicted PositivePredicted Negative
Actual Positive4420.956
Actual Negative1180.947
0.9780.9000.9538
SVM/NovelPredicted PositivePredicted Negative
Actual Positive4150.891
Actual Negative1180.947
0.9760.7830.9077
SVM/AllPredicted PositivePredicted Negative
Actual Positive4420.957
Actual Negative0191
10.9950.9692
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Tsamis, K.I.; Kontogiannis, P.; Gourgiotis, I.; Ntabos, S.; Sarmas, I.; Manis, G. Automatic Electrodiagnosis of Carpal Tunnel Syndrome Using Machine Learning. Bioengineering 2021, 8, 181. https://doi.org/10.3390/bioengineering8110181

AMA Style

Tsamis KI, Kontogiannis P, Gourgiotis I, Ntabos S, Sarmas I, Manis G. Automatic Electrodiagnosis of Carpal Tunnel Syndrome Using Machine Learning. Bioengineering. 2021; 8(11):181. https://doi.org/10.3390/bioengineering8110181

Chicago/Turabian Style

Tsamis, Konstantinos I., Prokopis Kontogiannis, Ioannis Gourgiotis, Stefanos Ntabos, Ioannis Sarmas, and George Manis. 2021. "Automatic Electrodiagnosis of Carpal Tunnel Syndrome Using Machine Learning" Bioengineering 8, no. 11: 181. https://doi.org/10.3390/bioengineering8110181

APA Style

Tsamis, K. I., Kontogiannis, P., Gourgiotis, I., Ntabos, S., Sarmas, I., & Manis, G. (2021). Automatic Electrodiagnosis of Carpal Tunnel Syndrome Using Machine Learning. Bioengineering, 8(11), 181. https://doi.org/10.3390/bioengineering8110181

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