Transformer based interpretable algorithm for diagnosing myocardial infarction from electrocardiography data

dc.contributor.advisorAkgül, Yusuf Sinan
dc.contributor.authorÖzcan, Barış
dc.date.accessioned2025-10-29T09:33:09Z
dc.date.issued2025
dc.departmentEnstitüler, Lisansüstü Eğitim Enstitüsü, Bilgisayar Mühendisliği Ana Bilim Dalı
dc.description.abstractMiyokard enfarktu?su? (ME), kalp kasının oksijen eksikliği nedeniyle hasar gördu?ğu? ölu?mcu?l kardiyovasku?ler hastalıklardan biridir. Erken teşhis kritik önem taşır, ancak elektrokardiyogram(EKG) ölçu?mlerinden yorumlanması uzmanlık ve zaman gerektiren bir işlemdir. Bu nedenle, EKG verilerini kullanarak EKG sinyallerinden ME teşhisi yapabilen algoritmaların geliştirilmesine sağlık ve yapay zeka alanlarında önem verilmektedir. Bu çalışmada, dört farklı derin öğrenme modeli denenmiştir: CNN (Evrişimsel Sinir Ağları), CRNN(Evrişimsel Yinelemeli Sinir Ağları), CNN ile Çok Başlı Dikkat ve Transformer tabanlı modeller. Bu modeller, herkese açık olarak erişilebilen PTB, PTB-XL ve INCART veri setlerinin birleştirilmiş hali üzerinde eğitildi ve test edildi. Modellerin performansı doğruluk, duyarlılık, özgu?llu?k ve F1 skoru gibi metriklerle değerlendirilmiştir. Transformer tabanlı model %93'lük doğruluk oranıyla en başarılı model oldu. Diğer yandan, çalışmanın önemli bir kısmını modellerin şeffaflaştırılmasına ayrılmış ve Grad-CAM bazlı yöntemlerin yanında karşıt saldırıları örnek alan bir pertu?rbasyon algoritması sayesinde derivasyonlar sırayla bozulmuş ve modellerin davranışı analiz edilmiştir.
dc.description.abstractMyocardial infarction (MI), a fatal cardiovascular disease, occurs when the heart muscle is damaged due to lack of oxygen. Early diagnosis is of critical importance, yet interpreting electrocardiogram(ECG) signals requires expertise and time. Therefore, the development of algorithms capable of diagnosing MI using ECG data is studied well in the fields of health and artificial intelligence. In this study, four different deep learning models were explored: Convolutional Neural Networks (CNNs),CRNNs(Convolutional Recurrent Neural Networks), CNNs with Multi-Head Attention, and Transformer-based models. These models were trained and tested on the combined dataset of the publicly available PTB, PTB-XL, and INCART datasets. The performances of the models were evaluated using metrics such as accuracy, sensitivity, specificity, and F1 score. The transformer-based model was the most successful model with an accuracy rate of 93%. On the other hand, the study focused on the transparency of the models, where Grad-CAM based methods and a perturbation algorithm inspired by adversarial attacks were used to disrupt derivations and analyze the behavior of the models.
dc.identifier.endpage105
dc.identifier.startpage1
dc.identifier.urihttps://tez.yok.gov.tr/UlusalTezMerkezi/TezGoster?key=E_eEUHQic_C-LvhxNQn1W3j1Gw47jiWbBsl5d24IuaM3IAvjLLsQRePxkISzGl7a
dc.identifier.urihttps://hdl.handle.net/20.500.14854/3777
dc.identifier.yoktezid916841
dc.institutionauthorÖzcan, Barış
dc.language.isoen
dc.publisherGebze Teknik Üniversitesi, Lisansüstü Eğitim Enstitüsü
dc.relation.publicationcategoryTez
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_TEZ_20251020
dc.subjectBilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol
dc.subjectComputer Engineering and Computer Science and Control
dc.titleTransformer based interpretable algorithm for diagnosing myocardial infarction from electrocardiography data
dc.title.alternativeElektrokardiyografi verilerinden miyokard enfarktüsünü teşhisi için transformer tabanlı yorumlanabilir algoritma geliştirilmesi
dc.typeMaster Thesis

Dosyalar

Orijinal paket

Listeleniyor 1 - 1 / 1
Yükleniyor...
Küçük Resim
İsim:
0033624.pdf
Boyut:
2.83 MB
Biçim:
Adobe Portable Document Format