PERBANDINGAN ALGORITMA RANDOM FOREST DAN SUPPORT VECTOR MACHINES DALAM MEMPREDIKSI TINGKAT RISIKO SERANGAN JANTUNG BERDASARKAN KEBIASAAN MEROKOK

Heart disease remains a major global health challenge, with smoking behavior identified as one of the most significant modifiable risk factors. This study aims to compare the performance of two machine learning algorithms—Random Forest and Support Vector Machine (SVM)—in predicting heart attack risk levels based on smoking habits and biometric indicators. Using a dataset of 3,901 subjects obtained from Kaggle, data preprocessing and feature engineering were conducted to optimize model accuracy. The SVM algorithm achieved an accuracy of 92.43%, with its best performance observed in the medium-risk category (precision: 0.95, recall: 0.97, F1-score: 0.96), although performance declined in low and high-risk categories. In contrast, the Random Forest algorithm demonstrated superior results, reaching 99.91% accuracy with perfect precision, recall, and F1-scores (1.00) across all risk categories. The findings indicate that Random Forest not only provides more consistent and accurate predictions but also minimizes classification errors effectively. This research suggests that Random Forest is a more reliable and robust approach than SVM for integrating into intelligent health information systems to support early detection and prevention strategies for heart disease, especially among individuals with active smoking behavior.

Publication Details

Journal
Jurnal Teknik Informasi dan Komputer (Tekinkom)
Published
2025-06-30
DOI
https://doi.org/10.37600/tekinkom.v8i1.1807
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PERBANDINGAN ALGORITMA RANDOM FOREST DAN SUPPORT VECTOR MACHINES DALAM MEMPREDIKSI TINGKAT RISIKO SERANGAN JANTUNG BERDASARKAN KEBIASAAN MEROKOK

Jurnal Teknik Informasi dan Komputer (Tekinkom)
Geochemistry and Geologic Mapping
article

PERBANDINGAN ALGORITMA RANDOM FOREST DAN SUPPORT VECTOR MACHINES DALAM MEMPREDIKSI TINGKAT RISIKO SERANGAN JANTUNG BERDASARKAN KEBIASAAN MEROKOK

article en

Abstract

Heart disease remains a major global health challenge, with smoking behavior identified as one of the most significant modifiable risk factors. This study aims to compare the performance of two machine learning algorithms—Random Forest and Support Vector Machine (SVM)—in predicting heart attack risk levels based on smoking habits and biometric indicators. Using a dataset of 3,901 subjects obtained from Kaggle, data preprocessing and feature engineering were conducted to optimize model accuracy. The SVM algorithm achieved an accuracy of 92.43%, with its best performance observed in the medium-risk category (precision: 0.95, recall: 0.97, F1-score: 0.96), although performance declined in low and high-risk categories. In contrast, the Random Forest algorithm demonstrated superior results, reaching 99.91% accuracy with perfect precision, recall, and F1-scores (1.00) across all risk categories. The findings indicate that Random Forest not only provides more consistent and accurate predictions but also minimizes classification errors effectively. This research suggests that Random Forest is a more reliable and robust approach than SVM for integrating into intelligent health information systems to support early detection and prevention strategies for heart disease, especially among individuals with active smoking behavior.

Jurnal Teknik Informasi dan Komputer (Tekinkom)Vol. 8(1)
Good health and well-being
Openalex Percentile: Top 33%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.