VISCORE
← All works

AI ApplicationsMar – May 2026Completed

Early Warning for Student Academic Risk

Service outsourcing competition, Problem A14: predict academic risk from multi-semester student data and explain the reason behind each warning.

Feature engineering, model blending and explainabilityTeam entry

Third Prize, Western Regional Round

  • Python
  • Pandas
  • XGBoost
  • SHAP
  • Flask
Dashboard summary cards and the risk-flow Sankey
0.9307AUC30% hold-out set, stratified by student
0.9364PR-AUCSame hold-out set

Background

The problem provided 27 tables of behaviour and academic data for about 2,500 students. The task was to identify academic risk early and also tell the teacher why a given student is at risk.

What the system does

  • Reshapes multi-table data into a student × semester profile
  • Predicts whether a student will fail a course in the target semester
  • Gives the main contributing factors for every warning
  • A warning dashboard

My work

  • Feature engineering: contributed to reshaping the 27 tables into a longitudinal student × semester panel and building 139 features.
  • Model: contributed to tuning and blending; the final model is a weighted blend, at the probability level, of two tuned XGBoost models.
  • Explainability: used SHAP to output the main contributing factors for each warning.

Problems and fixes

Information leakage. Some fields are themselves the result of things having already gone wrong, such as later grades. Including them makes the metrics look very good but has no value for early warning, so they were removed from training. The split is stratified by student, so the same student never appears in both the training and the test set.

Results

  • Third Prize, Western Regional Round, 17th Service Outsourcing Innovation and Entrepreneurship Competition (enterprise-problem track).
  • AUC 0.9307 and PR-AUC 0.9364 on the 30% hold-out set stratified by student.

Retrospective

  • The first version used a random forest, “average score below 60” as the label and a random split; the delivered version switched to the longitudinal panel and the blended model. The numbers from the two versions are measured differently and cannot be mixed.

Project images

SHAP feature contributions; failed-course count ranks first
Correlation matrix of behaviour features