Scientific Journal of Informatics
Vol. 8 No. 2 (2023): Jurnal Ilmiah Informatika

Analisis Perbandingan Prediksi Harapan Hidup Hepatitis Menggunakan Algoritma K-Nearest Neighbor dan C4.5

Karina (Unknown)
Hanum, Herlina (Unknown)
Desiani, Anita (Unknown)



Article Info

Publish Date
31 Dec 2023

Abstract

Hepatitis is an inflammatory disease of the liver caused by a virus that causes damage to the cells and function of the liver. This study compares the accuracy, precision, and recall results of the K-Nearest Neighbor (K-NN) and C4.5 algorithms using the Percentage Split and K-fold Cross Validation methods. Of the two algorithms, the best level of accuracy is obtained using the K-fold Cross Validation method. Based on the accuracy and error rate, the best algorithm for predicting life expectancy for hepatitis sufferers is the K-NN algorithm. Based on the special Precision and Recall values ​​on the Recall value to predict class zero the best algorithm is obtained using the C4.5 algorithm. To assess Precision and Recall, the other best algorithm in predicting the fixed response variable is obtained by using the K-NN algorithm. Overall, the best algorithm for predicting life expectancy for hepatitis sufferers is the K-Nearest Neighbor (K-NN) algorithm.

Copyrights © 2023






Journal Info

Abbrev

JIMI

Publisher

Subject

Computer Science & IT

Description

Topics cover the following areas (but are not limited to): 1. Information Technology (IT) a. Software engineering b. Game c. Information Retrieval d. Computer network e. Telecommunication f. Internet g. Wireless technology h. Network security i. Multimedia technology j. Mobile Computing k. ...