Skripsi
IMPLEMENTASI KOMBINASI ARSITEKTUR TRANSFORMER DAN BIDIRECTIONAL LONG SHORT-TERM MEMORY PADA KLASIFIKASI BEAT SINYAL ELEKTROKARDIOGRAM
Abnormalities in the electrocardiogram (ECG) signal may be an early indication of a heart rhythm disorder. A method that can be used to identify these abnormalities is to classify heartbeats into five classes: non-ectopic beat (N), supraventricular ectopic beat (S), ventricular ectopic beat (V), fusion beat (F), and unknown beat (Q). This study proposes a combination of Transformer and BiLSTM architectures for classifying ECG signal beats in supraventricular arrhythmias. The Transformer is used to capture global relationships between signal segments via the self-attention mechanism, while the BiLSTM preserves sequence information so that the characteristics of the P wave, QRS complex, and T wave remain recognizable. This study achieved average accuracy, sensitivity, specificity, precision, F1-score, and AUC values above 98%. An accuracy of 98.94% indicates that the model can accurately classify ECG signal beats in the test data. A sensitivity of 98.95% indicates that the model can identify each class. A specificity of 99.74% indicates that the model can identify data that does not belong to any of the five classes. A precision of 98.96% indicates a high level of accuracy in predicting each class, resulting in few classification errors. An F1-score of 98.94% indicates a good balance between precision and sensitivity. An AUC of 99.95% indicates the model’s ability to distinguish data across each class. The proposed model performs exceptionally well in identifying classes F and Q compared to classes N, S, and V, with a sensitivity of 100%. The values obtained for classes N, S, and V are still lower than those for classes F and Q, but the model also demonstrates high performance with a sensitivity score above 99%. These results show that the Transformer and BiLSTM architectures provide optimal performance in classifying ECG signal beats into 5 classes, particularly classes F and Q.
No other version available