Comparison of K-Nearest Neighbor and Naive Bayes Algorithms for Tuberculosis Diagnosis Classification

Tuberculosis is an infectious disease caused by the bacteria mycobacterium tuberculosis. Tuberculosis is a serious global health problem and can cause death if not treated properly. At the Sidorejo Health Center, the current process of diagnosing patients uses several benchmarks of medical history obtained from patients regarding complaints, symptoms, and risk factors, while the results of the diagnosis calculation are not yet known. Comparison of the K-nearest neighbor and naïve bayes algorithms in classifying tuberculosis can provide input for the Sidorejo Health Center in seeing the accuracy of the diagnosis of tuberculosis, with medical information such as symptoms and medical history, where later patient data will be processed using the rapid miner application. The system development method used in this study is CRISP-DM, which consists of business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The testing method uses a confusion matrix to measure the accuracy of the algorithm model with the results being that the K-nearest neighbor algorithm produces a high accuracy of 98% while the naïve bayes algorithm is the lowest with an accuracy of 0.70%.

Authors

Publication Details

Journal
Journal of Artificial Intelligence and Software Engineering (J-AISE)
Published
2025-03-26
DOI
https://doi.org/10.30811/jaise.v5i1.6456
Primary Topic
Image Processing Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of K-Nearest Neighbor and Naive Bayes Algorithms for Tuberculosis Diagnosis Classification

Dedi Setiadi, Alfis Arif, Anik Oktaria
Journal of Artificial Intelligence and Software Engineering (J-AISE)
Image Processing Techniques and Applications
article

Comparison of K-Nearest Neighbor and Naive Bayes Algorithms for Tuberculosis Diagnosis Classification

Dedi Setiadi, Alfis Arif, Anik Oktaria
article en

Abstract

Tuberculosis is an infectious disease caused by the bacteria mycobacterium tuberculosis. Tuberculosis is a serious global health problem and can cause death if not treated properly. At the Sidorejo Health Center, the current process of diagnosing patients uses several benchmarks of medical history obtained from patients regarding complaints, symptoms, and risk factors, while the results of the diagnosis calculation are not yet known. Comparison of the K-nearest neighbor and naïve bayes algorithms in classifying tuberculosis can provide input for the Sidorejo Health Center in seeing the accuracy of the diagnosis of tuberculosis, with medical information such as symptoms and medical history, where later patient data will be processed using the rapid miner application. The system development method used in this study is CRISP-DM, which consists of business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The testing method uses a confusion matrix to measure the accuracy of the algorithm model with the results being that the K-nearest neighbor algorithm produces a high accuracy of 98% while the naïve bayes algorithm is the lowest with an accuracy of 0.70%.

Journal of Artificial Intelligence and Software Engineering (J-AISE)Vol. 5(1)
Openalex Percentile: Top 92%
Image Processing Techniques and Applications
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.