Penerapan Machine Learning untuk memprediksi Resiko Pengidap Penyakit Jantung menggunakan Algoritma decision tree
DOI:
https://doi.org/10.22441/format.2025.v14.i1.007Abstract
Heart disease remains a leading cause of mortality worldwide, necessitating innovative approaches to improve diagnosis and management. This study aims to enhance the prediction of heart disease risk using machine learning, particularly the Decision Tree algorithm. A publicly available dataset containing 303 entries with 14 features related to heart disease risk factors, such as age, cholesterol levels, blood pressure, and electrocardiogram results, was utilized. The data underwent preprocessing steps, including normalization, handling outliers, and standardization, to ensure optimal model performance. The Decision Tree algorithm was trained on 80% of the dataset and evaluated on the remaining 20%. The model achieved an accuracy of 80%, with a balanced F1-score of 0.82, demonstrating its effectiveness in predicting heart disease risk. Feature importance analysis revealed that cholesterol levels, age, and resting blood pressure were the most influential predictors. The Decision Tree's interpretability provides valuable insights for medical practitioners, enabling more accurate and transparent risk assessments. This study highlights the potential of machine learning in medical diagnostics, particularly in identifying high-risk individuals for early intervention and better patient outcomes.
Downloads
Downloads
Additional Files
Published
How to Cite
Issue
Section
License
- Attribution (BY): You must give appropriate credit to the original creator, provide a link to the license, and indicate if you made any changes.
- ShareAlike (SA): If you remix, transform, or build upon the material, you must distribute your new creation under the same or a compatible license (such as CC BY-SA 4.0).
- No Additional Restrictions: You cannot apply legal terms or technological measures that legally restrict others from doing anything the license permits.
- Share: Copy and redistribute the material in any medium or format.
- Adapt: Remix, transform, and build upon the material to create new works (like artwork, code, or documentation).
- Commercial Use: You can use and sell your adaptations or distributions commercially, provided you respect the ShareAlike condition.
- Irrevocable: Once granted by the creator, the license cannot be taken back as long as you comply with its terms.
- No Warranties: The material is provided "as-is," and the licensor gives no guarantees or warranties regarding your use of the work.
- Official Reference: You can read the full legal summary on the Creative Commons Attribution-ShareAlike 4.0 International Deed.