Implementation of K-Nearest Neighbor Algorithm in Heart Disease Classification

  • Ni Kadek Sukma Putri Rahayu Universitas Udayana
  • I Komang Ari Mogi

Abstract

The heart is an important organ that exists in the human body. The main function of the heart is to pump blood throughout the body through blood vessels. The WHO states that as many as 7.3 million people die from heart disease. In this study heart disease will be classified using the K-Nearest Neighbor algorithm. K-Nearest Neighbor algorithm is a classification algorithm based on the distance from data testing against training data with a pre-defined number of k. The results were obtained from performance measurements for the classification of heart disease with the K-Nearest Neighbor algorithm measured using the K-Fold Cross Validation algorithm, from an accuracy rate of 65.89%, a precision level of 66.27%, and a recall of 74.67%.

Downloads

Download data is not yet available.
Published
2021-08-06
How to Cite
PUTRI RAHAYU, Ni Kadek Sukma; MOGI, I Komang Ari. Implementation of K-Nearest Neighbor Algorithm in Heart Disease Classification. JELIKU (Jurnal Elektronik Ilmu Komputer Udayana), [S.l.], v. 10, n. 1, p. 39-44, aug. 2021. ISSN 2654-5101. Available at: <https://ojs.unud.ac.id/index.php/jlk/article/view/64452>. Date accessed: 19 apr. 2024. doi: https://doi.org/10.24843/JLK.2021.v10.i01.p05.

Most read articles by the same author(s)

1 2 > >>