JOURNAL ARTICLE

Klasifikasi Penyakit Serangan Jantung Menggunakan Metode Machine Learning K-Nearest Neighbors (KNN) dan Support Vector Machine (SVM)

Abstract

Cardiovascular disease (CVD) is a general term for disorders related to the heart, coronary arteries, and blood vessels. These diseases are most commonly caused by blocked blood vessels, either due to fat buildup or internal bleeding. According to the WHO, each year, cardiovascular diseases account for 32% of all deaths, which translates to about 17.9 million people annually. The numerous factors causing CVD make it challenging for doctors to diagnose patients who are at low or higher risk of heart attacks. A machine learning model is needed for the early recognition of heart attack symptoms. Supervised learning models such as KNN and SVM were used in previous studies without feature selection, with datasets obtained from Kaggle. PCA was applied to reduce data dimensions to smaller variables. With the use of confusion matrix and ROC curve evaluations, the accuracy results of the previous KNN model improved from 83.6% to 90.16%. The SVM model also saw an accuracy increase from 85.7% to 86.88%. The use of PCA feature selection demonstrated an improvement in accuracy in the study. The KNN model, with a higher accuracy rate of 90.16%, is better for classifying individuals as normal or diagnosed with a heart attack.

Keywords:
Support vector machine Pattern recognition (psychology) Artificial intelligence Computer science k-nearest neighbors algorithm

Metrics

3
Cited By
4.58
FWCI (Field Weighted Citation Impact)
20
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems
Computer Science and Engineering
Physical Sciences →  Computer Science →  Artificial Intelligence
Edcuational Technology Systems
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Implementasi Metode K-Nearest Neighbors (KNN) untuk Klasifikasi Penyakit Jantung

Ahmad YogiantoAhmad HomaidiZaehol Fatah

Journal:   Jurnal Teknologi Terapan G-Tech Year: 2024 Vol: 8 (3)Pages: 1720-1728
JOURNAL ARTICLE

Klasifikasi Penyakit TBC Menggunakan Metode K-Nearest Neighbors (KNN)

Nur Inayah IinZaehol Fatah

Journal:   Jurnal Mahasiswa Teknik Informatika Year: 2025 Vol: 4 (2)Pages: 114-118
JOURNAL ARTICLE

Klasifikasi Gagal Jantung menggunakan Metode SVM (Support Vector Machine)

Laili Nur FaridaSaiful Bahri

Journal:   Komputika Jurnal Sistem Komputer Year: 2024 Vol: 13 (2)Pages: 149-156
JOURNAL ARTICLE

KLASIFIKASI RISIKO PENYAKIT JANTUNG MENGGUNAKAN ALGORITMA VECTOR MACHINE (SVM)

Guntur Ariyanto PamungkasReni RahmadewiIndri Purwita Sary

Journal:   JATI (Jurnal Mahasiswa Teknik Informatika) Year: 2025 Vol: 9 (3)Pages: 5438-5443
© 2026 ScienceGate Book Chapters — All rights reserved.