This Author published in this journals
All Journal Generation Journal
Farhan Arizal Ginanjar Ginanjar
Universitas Nahdlatul Ulama Purwokerto

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Classification of Diabetes Mellitus (DM) Using the Naïve Bayes Method with Chi-Square Variable Selection Farhan Arizal Ginanjar Ginanjar; Ambar Winarni; Nur'aini Muhassanah
Generation Journal Vol 10 No 2 (2026): Generation Journal
Publisher : Universitas Nusantara PGRI Kediri

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.29407/gj.v10i2.27878

Abstract

Diabetes mellitus (DM) is a chronic disease that can cause serious complications, making early detection essential. Technological advances enable the use of data mining techniques, particularly the Naïve Bayes classification method, to support early diabetes detection. Although Chi-Square variable selection is known to improve Naïve Bayes accuracy, studies examining the impact of different significance levels remain limited. Therefore, this study applies the Naïve Bayes method with and without Chi-Square variable selection at three significance levels (α = 0.05, α = 0.01, and α = 0.001) to evaluate their effects on classification performance and identify the optimal significance level. The results show that Naïve Bayes without variable selection achieved an accuracy of 87.50%, precision of 93.01%, and recall of 86.21%. After applying Chi-Square selection, performance improved across all significance levels. At α = 0.05, the accuracy reached 87.88%, with precision of 93.06% and recall of 86.85%. At α = 0.01, accuracy increased to 88.46%, precision to 94.25%, and recall to 86.53%. The best performance was obtained at α = 0.001, achieving an accuracy of 88.65%, precision of 94.19%, and recall of 86.86%. These findings indicate that Chi-Square variable selection effectively enhances the performance of the Naïve Bayes algorithm for diabetes classification