Perbandingan Algoritma C4.5 dan Naïve Bayes untuk Klasifikasi Status Anak Tidak Sekolah di Kelurahan Tanjung Pinggir
Out-of-school children (OSC) remain an education concern because their status needs to be identified accurately to support local planning and intervention. This study compares the C4.5 Decision Tree and Naïve Bayes algorithms for classifying OSC status in Tanjung Pinggir Village, Pematangsiantar, Indonesia. Secondary data obtained from the village-level Pusdatin dataset were processed into 145 records. The attributes comprised age, gender, last education level, and economic status, while the target classes were Drop Out (DO), Graduated but Not Continuing (LTM), and Never Attended School (BPB). The workflow included data cleaning, categorical encoding, an 80:20 train-test partition, model implementation in Python through Google Colaboratory, and evaluation using a confusion matrix with accuracy, precision, recall, and F1-score. The C4.5 model reported 100% accuracy, precision, recall, and F1-score on the 29-record test set. Naïve Bayes achieved 82.8% accuracy, 90.2% precision, 83.3% recall, and 83.1% F1-score. These results indicate that C4.5 performed better on this dataset and split. However, the perfect score should be interpreted cautiously because the dataset is small and geographically limited; further testing with cross-validation and additional records is needed before wider implementation.
Authors
- Riki Winanjaya
- Okva Tri Tami Perangin-Angin
- Susiani Susiani
Institutions
- STIKOM Tunas Bangsa (ID)
Publication Details
- Journal
- Jurnal Rekayasa Proses dan Industri Terapan
- Published
- 2026-11-26
- DOI
- https://doi.org/10.59061/repit.v4i4.1630
- Primary Topic
- Data Mining and Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00