Research Article
A Machine Learning Approach for Predicting Student Progress in Online Programming Education
A Machine Learning Approach for Predicting Student Progress in Online Programming Education. Zhang, Jeffries and Koprinska propose an Machine Learning approach that predicts student progress at the module level in large-scale online programming courses: an intrinsically interpretable decision-tree model predicts a student's performance on the final problem of a module from content-interaction features derived from their log data. Across four large-scale K-12 programming courses (~35,000 students), the glass-box decision trees delivered competitive accuracy (85–91%) against black-box models such as random forests and SVMs, while producing interpretable tree-based visualisations and slide rankings that educators found useful for intervening with at-risk learners and improving course design.
Key Findings
- Machine Learning classification on course content-interaction features yields accurate module-level predictions of student outcomes, with decision trees reaching 85.2–90.9% accuracy, precision 0.88–0.92, recall 0.78–0.98 and F1 0.83–0.92 across all four courses, substantially exceeding the majority-class baseline.
- Intrinsically interpretable decision trees performed competitively with more advanced black-box models (logistic regression, random forest, SVM), and feature selection (CFS and information-gain ratio) cut tree complexity to just 3–5 leaf nodes without degrading accuracy — supporting glass-box models over post-hoc explainers for online course settings.
- Completion of prior exercises — predominantly problem slides (75% of features selected) — was the strongest predictor of module completion, consistent with the "doer effect"; interactive content slides mattered more in school-level courses where novices lack background knowledge.
- The method flags "No submission" (dropout) outcomes accurately and offers a 7–8 day prediction window before a module's deadline, giving educators a real-time opportunity to intervene with struggling and disengaged, at-risk students.
- Two experienced educators judged the trees and slide rankings genuinely useful for identifying where students struggle and give up, spotting slides with low pedagogical value, and surfacing behavioural differences between courses (e.g., Blockly vs. Python; beginner vs. intermediate).
- Exploratory analysis distinguished three engagement profiles — disengaged at-risk, disengaged-but-successful, and engaged high-performers — revealing that low content-slide completion can signal either positive or negative outcomes depending on student background and course level.
Connected Concepts
- CS Education
- Machine Learning
- Learning Analytics
- Student Modeling
- Online Teaching And Learning
- K 12
- Visualization
Connected Articles
- At Risk Students ML Prediction
- Precision Education Student Digital Twins 2026
- Mejia Domenzain ML Findings Teachers Blended 2026
- Explainable Probabilistic KT
Citation
Zhang, V., Jeffries, B., & Koprinska, I. (2025). A Machine Learning Approach for Predicting Student Progress in Online Programming Education. International Journal of Artificial Intelligence in Education, 35, 3614–3644.