Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms

Electromyography (EMG) signal classification is vital to diagnose musculoskeletal abnormalities and control devices by motion intention detection. Machine learning assists both areas by classifying conditions or motion intentions. This paper proposes a novel window length insensitive EMG classificat...

Full description

Bibliographic Details
Main Authors: Ayber Eray Algüner, Halit Ergezer
Format: Article
Language:English
Published: SAGE Publishing 2023-09-01
Series:Measurement + Control
Online Access:https://doi.org/10.1177/00202940231153205
_version_ 1797731235279142912
author Ayber Eray Algüner
Halit Ergezer
author_facet Ayber Eray Algüner
Halit Ergezer
author_sort Ayber Eray Algüner
collection DOAJ
description Electromyography (EMG) signal classification is vital to diagnose musculoskeletal abnormalities and control devices by motion intention detection. Machine learning assists both areas by classifying conditions or motion intentions. This paper proposes a novel window length insensitive EMG classification method utilizing the Entropy feature. The main goal of this study is to show that entropy can be used as the only feature for fast real-time classification of EMG signals of hand gestures. The main goal of this study is to show that entropy can be used as the only feature for fast real-time classification of EMG signals of hand gestures. Additionally, the entropy feature can classify feature vectors of different sliding window lengths without including them in the training data. Many kinds of entropy feature succeeded in electroencephalography (EEG) and electrocardiography (ECG) classification research. However, to the best of our knowledge, the Entropy Feature proposed by Shannon stays untested for EMG classification to this day. All the machine learning models are tested on datasets NinaPro DB5 and the newly collected SingleMyo. As an initial analysis to test the entropy feature, classic Machine Learning (ML) models are trained on the NinaPro DB5 dataset. This stage showed that except for the K Nearest Neighbor (kNN) with high inference time, Support Vector Machines (SVM) gave the best validation accuracy. Later, SVM models trained with feature vectors created by 1 s (200 samples) sliding windows are tested on feature vectors created by 250 ms (50 samples) to 1500 ms (300 samples) sliding windows. This experiment resulted in slight accuracy differences through changing window length, indicating that the Entropy feature is insensitive to this parameter. Lastly, Locally Parsed Histogram (LPH), typical in standard entropy functions, makes learning hard for ML methods. Globally Parsed Histogram (GPH) was proposed, and classification accuracy increased from 60.35% to 89.06% while window length insensitivity is preserved. This study shows that Shannon’s entropy is a compelling feature with low window length sensitivity for EMG hand gesture classification. The effect of the GPH approach against an easy-to-make mistake LPH is shown. A real-time classification algorithm for the entropy features is tested on the newly created SingleMyo dataset.
first_indexed 2024-03-12T11:55:54Z
format Article
id doaj.art-960bf9dea0a94011a85bbe0e13849de4
institution Directory Open Access Journal
issn 0020-2940
language English
last_indexed 2024-03-12T11:55:54Z
publishDate 2023-09-01
publisher SAGE Publishing
record_format Article
series Measurement + Control
spelling doaj.art-960bf9dea0a94011a85bbe0e13849de42023-08-30T21:35:24ZengSAGE PublishingMeasurement + Control0020-29402023-09-015610.1177/00202940231153205Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histogramsAyber Eray AlgünerHalit ErgezerElectromyography (EMG) signal classification is vital to diagnose musculoskeletal abnormalities and control devices by motion intention detection. Machine learning assists both areas by classifying conditions or motion intentions. This paper proposes a novel window length insensitive EMG classification method utilizing the Entropy feature. The main goal of this study is to show that entropy can be used as the only feature for fast real-time classification of EMG signals of hand gestures. The main goal of this study is to show that entropy can be used as the only feature for fast real-time classification of EMG signals of hand gestures. Additionally, the entropy feature can classify feature vectors of different sliding window lengths without including them in the training data. Many kinds of entropy feature succeeded in electroencephalography (EEG) and electrocardiography (ECG) classification research. However, to the best of our knowledge, the Entropy Feature proposed by Shannon stays untested for EMG classification to this day. All the machine learning models are tested on datasets NinaPro DB5 and the newly collected SingleMyo. As an initial analysis to test the entropy feature, classic Machine Learning (ML) models are trained on the NinaPro DB5 dataset. This stage showed that except for the K Nearest Neighbor (kNN) with high inference time, Support Vector Machines (SVM) gave the best validation accuracy. Later, SVM models trained with feature vectors created by 1 s (200 samples) sliding windows are tested on feature vectors created by 250 ms (50 samples) to 1500 ms (300 samples) sliding windows. This experiment resulted in slight accuracy differences through changing window length, indicating that the Entropy feature is insensitive to this parameter. Lastly, Locally Parsed Histogram (LPH), typical in standard entropy functions, makes learning hard for ML methods. Globally Parsed Histogram (GPH) was proposed, and classification accuracy increased from 60.35% to 89.06% while window length insensitivity is preserved. This study shows that Shannon’s entropy is a compelling feature with low window length sensitivity for EMG hand gesture classification. The effect of the GPH approach against an easy-to-make mistake LPH is shown. A real-time classification algorithm for the entropy features is tested on the newly created SingleMyo dataset.https://doi.org/10.1177/00202940231153205
spellingShingle Ayber Eray Algüner
Halit Ergezer
Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
Measurement + Control
title Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
title_full Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
title_fullStr Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
title_full_unstemmed Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
title_short Window length insensitive real-time EMG hand gesture classification using entropy calculated from globally parsed histograms
title_sort window length insensitive real time emg hand gesture classification using entropy calculated from globally parsed histograms
url https://doi.org/10.1177/00202940231153205
work_keys_str_mv AT aybererayalguner windowlengthinsensitiverealtimeemghandgestureclassificationusingentropycalculatedfromgloballyparsedhistograms
AT halitergezer windowlengthinsensitiverealtimeemghandgestureclassificationusingentropycalculatedfromgloballyparsedhistograms