Cerebral Infarction Classification Using the K-Nearest Neighbor and Naive Bayes Classifier

Cerebral infarction is one of the causes of stroke in the brain and is included in ischemic stroke. To detect infarction in the brain, classification in machine learning can be used. They are k-Nearest Neighbor (kNN) and Naive Bayes (NB). kNN is a simple and well-known machine learning method with high accuracy values. however, kNN can produce sub-optimal results if very little training data is used. Because it will produce accuracy from a biased model and has less than optimal performance. Meanwhile, Naive Bayes Classifier has a better level of accuracy compared to other classifier models. And only requires a small training test to get high accuracy. Therefore, this study will compare 2 different classifications to get the highest accuracy in the brain infarction dataset obtained from the Department of Radiology, dr. Cipto Mangunkusumo Hospital (RSCM). The accuracy of this method reaches 91% for kNN and 97% for Naive Bayes.