Nur Milani Hidayah
Informatika, Universitas Muhammadiyah Makassar

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

KLASIFIKASI PENYAKIT PNEUMONIA MENGGUNAKAN MODEL HYBRID CNN-TRANSFORMER BERBASIS CITRA X-RAY PARU-PARU Nur Milani Hidayah; Muhammad Faisal; Desi Anggreani; Nurnawaty; Andi Makbul Syamsuri; M. Agusalim
PROGRESS Vol 18 No 2 (2026): September
Publisher : P3M STMIK Profesional Makassar

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.56708/progres.v18i2.471

Abstract

This study aims to apply a Hybrid CNN-Transformer model based on Medical Vision Transformer (MedViT) for pneumonia classification using chest X-Ray images. The dataset consisted of 450 images, including 150 pneumonia images, 150 non-pneumonia images, and 150 random images as a control class to test system robustness. The data were obtained from Labuang Baji Hospital, Makassar, during the 2023 to 2025 period. The research stages included data collection, preprocessing, augmentation, dataset splitting, model implementation, training, and performance evaluation. The tested models consisted of CNN, Vision Transformer (ViT), and Hybrid CNN-Transformer. The evaluation used accuracy, precision, recall, F1-score, AUC, confusion matrix, ROC curve, and Grad-CAM visualization. The results showed that the Hybrid CNN-Transformer model achieved the best performance with an accuracy of 95.59%, precision of 96.12%, recall of 95.59%, F1-score of 95.58%, and AUC of 0.9968. The model improved accuracy by 8.83% compared with CNN and produced fewer classification errors. The Grad-CAM visualization also indicated that the model focused on relevant lung areas. These findings indicate that combining CNN local feature extraction with Transformer global context can improve pneumonia classification based on medical images..