Student Performance Prediction · Phase 3 of 5 · 12 guided hours
Modelling
Train a baseline rule and two machine learning models, tune them with cross-validation on the training data, and choose a decision threshold that suits the school's capacity.
Phase objectives
- Train and compare models fairly
- Choose a decision threshold based on the school's capacity
You should already know
- The prepared training data
- The evaluation plan
Lessons in this phase
- Baseline Rule and Logistic Regression — Implement the agreed baseline rule, then train a logistic regression model, and compare both on the training data using cross-validation.
- Decision Trees and Model Comparison — Train a decision tree or random forest, control overfitting, and compare all models fairly on the same cross-validation folds.
- Choosing a Decision Threshold for the School's Capacity — Turn predicted probabilities into a list of students to support, choosing a threshold that balances recall and precision with the number of students teachers can help.
Practical activity
Train and compare the baseline and models, choose a model and fix a capacity-based threshold.
Deliverables
- Model comparison table
- Model choice with reasons
- Threshold table and chosen threshold
Milestone
Model selection review.
- The chosen model beats the baseline in cross-validation
- The comparison is fair and documented
- The threshold is fixed from training data and linked to capacity
Instructor checkpoint
The instructor checks that the test set has not been used and discusses the model choice.
How this phase is assessed
Practical milestone: correct method, fair comparison and justified threshold.
Projects are instructor-guided: an instructor sets milestones, checks your work and gives feedback, online or in person. Self-study of the public lessons does not lead to a certificate. Enrolment and fees follow the Academy's existing policies — contact the Academy.