JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING
Vol 6, No 1 (2022): Issues July 2022

Application of Artificial Intelligence Chi-Square Model and Classification Of KNN in Heart Disease Detection

Rosdiana Rosdiana (Jurusan Teknik elektro Fakultas teknik Universitas Malikussaleh)
Vera Novalia (Universitas Malikussaleh)
Ilham Saputra (Universitas Malikussaleh)
Mutammimul Ula (Universitas Malikussaleh)
Muhammad Danil (Universitas Malikussaleh)



Article Info

Publish Date
21 Jul 2022

Abstract

Cardiovascular disease is a problem in the blood vessels that do not run smoothly into the heart. This is fatal in patients with a history of heart disease. This problem often occurs in the flow of blood pumps into the heart. The problem examined in this study is how to complete the level of accuracy of each data set and the reduction of each attribute in heart disease. The purpose of this study is to analyze heart disease and classify heart disease using the chi-square and K-Nearest Neighbor algorithms. The results of the study with patient age 57, gender LK, cp 3, trestbps 200, chol 564, fbs 1, restecg 2, thalach 202, oldpeak 6.2, slope 2, ca 4, and the value of thal 3 for the target is there is disease heart 0 or 1 is detected without heart disease when the max-min data is normalized. while to measure the performance of the algorithm with the value of the confusion matrix with the actual class value of 1, prediction class 1 value 44, actual class 0 and prediction class value 6. while the actual class value 0-1, prediction class 1 value 5 and 0-0 value 36. the final stage value of the accuracy measure is 0.87912, the recall value is 0.89797 and the precision value is 0.85714. The implication of the application of the test has an optimal test, the accuracy value with data K = 303 then it can be concluded that based on the test the calculation of the KNN model obtained an accuracy of 91%

Copyrights © 2022






Journal Info

Abbrev

jite

Publisher

Subject

Computer Science & IT Engineering

Description

JURNAL TEKNIK INFORMATIKA, JITE (Journal of Informatics and Telecommunication Engineering) is a journal that contains articles / publications and research results of scientific work related to the field of science of Informatics Engineering such as Software Engineering, Database, Data Mining, ...