Dynamic Grade Prediction in Programming Education Using Time-Series XGBoost and SHAP Analysis

This study presents a time-series-based machine learning approach to predict final grades in a C programming course, leveraging temporal and behavioral features to support early intervention. We evaluated classification and regression models using three-class (Needs Improvement, Average, Excellent) and five-class (Fail, Poor, Average, Good, Excellent) grading schemes, addressing class imbalance with RandomOverSampler, SMOTE and ADASYN. Advanced sampling strategies, particularly SMOTE, enhanced minority class prediction in the three-class scheme, with XGBoost achieving superior performance. The five-class scheme offered finer granularity, revealing nuanced patterns in mid-tier performance through practice-related features, but faced challenges from increased class imbalance. Regression models, while suitable for continuous prediction, underperformed due to thresholding biases. SHAP analysis identified historical average score and difficulty-adjusted score as key predictors, providing actionable insights for educators. These findings highlight the trade-offs between broad and fine-grained prediction, with the three-class scheme supporting robust interventions and the five-class scheme enabling nuanced feedback. Future work includes incorporating qualitative features and hybrid approaches to improve fine-grained prediction and generalizability across educational contexts.

Authors

Institutions

Publication Details

Journal
International Journal of Software Engineering and Knowledge Engineering
Published
2025-09-04
DOI
https://doi.org/10.1142/s0218194025500548
Primary Topic
Online Learning and Analytics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dynamic Grade Prediction in Programming Education Using Time-Series XGBoost and SHAP Analysis

Jing Qiu, Chunmei Shi
International Journal of Software Engineering and Knowledge Engineering
Online Learning and Analytics
article

Dynamic Grade Prediction in Programming Education Using Time-Series XGBoost and SHAP Analysis

Jing Qiu, Chunmei Shi
article en

Abstract

This study presents a time-series-based machine learning approach to predict final grades in a C programming course, leveraging temporal and behavioral features to support early intervention. We evaluated classification and regression models using three-class (Needs Improvement, Average, Excellent) and five-class (Fail, Poor, Average, Good, Excellent) grading schemes, addressing class imbalance with RandomOverSampler, SMOTE and ADASYN. Advanced sampling strategies, particularly SMOTE, enhanced minority class prediction in the three-class scheme, with XGBoost achieving superior performance. The five-class scheme offered finer granularity, revealing nuanced patterns in mid-tier performance through practice-related features, but faced challenges from increased class imbalance. Regression models, while suitable for continuous prediction, underperformed due to thresholding biases. SHAP analysis identified historical average score and difficulty-adjusted score as key predictors, providing actionable insights for educators. These findings highlight the trade-offs between broad and fine-grained prediction, with the three-class scheme supporting robust interventions and the five-class scheme enabling nuanced feedback. Future work includes incorporating qualitative features and hybrid approaches to improve fine-grained prediction and generalizability across educational contexts.

International Journal of Software Engineering and Knowledge EngineeringVol. 35(12)
Zhejiang A & F University (CN)
Openalex Percentile: Top 73%
Online Learning and Analytics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Dynamic Grade Prediction in Programming Education Using Time-Series XGBoost and SHAP Analysis — Jing Qiu, Chunmei Shi · International Journal of Software Engineering and Knowledge Engineering (2025) | TGRS Research Map | TGRS