The Application of XGBoost to Classify Students’ Interests in Computer Science at SMP Negeri 30 in South Bengkulu

  • Ocy Lara Putri Universitas Dehasen Bengkulu
  • Devi Sartika Universitas Dehasen Bengkulu
  • Dimas Aulia Trianggana Universitas Dehasen Bengkulu
Keywords: Explainable Artificial Intelligence, Student Learning Interest, XGBoost

Abstract

Student interest in Informatics is still commonly identified through teacher observation, creating a need for a more objective data-driven approach. This study develops an XGBoost classification model and explains the factors underlying its decisions using SHAP. A quantitative data-analytics design followed the CRISP-DM stages using 27 student records and seven features: assignment scores, daily tests, practical scores, midterm scores, final scores, attendance, and attitude. The dataset was split into 80% training and 20% testing data. On six held-out cases, the model correctly classified two students as Interested and four as Not Interested, producing 100% Accuracy, Precision, Recall, and F1-Score, with an AUC of 1.00. SHAP analysis identified daily-test scores as the strongest contributor (1.1179), followed by assignment, final-exam, practical, and midterm scores. These findings indicate that XGBoost combined with SHAP can support measurable and transparent identification of student interest, although the limited dataset requires caution when generalizing the performance.

Downloads

Download data is not yet available.
Published
2026-10-27
How to Cite
Putri, O., Sartika, D., & Trianggana, D. (2026). The Application of XGBoost to Classify Students’ Interests in Computer Science at SMP Negeri 30 in South Bengkulu. Jurnal Media Computer Science, 5(4), 1761-1772. https://doi.org/10.37676/jmcs.v5i4.12643
Section
Articles

Most read articles by the same author(s)

<< < 1 2 3 4 5 > >>