Student Performance Prediction · Project

Student Performance Prediction · Phase 1 · Lesson 3 of 3

Choosing Success Measures Before Modelling

Decide in advance how the model will be judged: which errors matter most to the school, a baseline to beat, and the fairness checks that will be run.

What you need

A computer with a web browser and a free Google account for Google Colab, or Python with Jupyter installed locally. Libraries: pandas, scikit-learn and matplotlib (all free).

In this lesson you will

  • Select evaluation measures that reflect the school's priorities
  • Define a baseline and fairness checks in advance

Key concepts

baselineprecisionrecallfalse negativefalse positivefairness check

The lesson

Two kinds of error matter here. A false negative misses a student who needed help; a false positive offers help to a student who would have been fine. For a support programme, missing students is usually worse, so recall matters, while precision keeps the workload manageable.

A baseline is the simplest reasonable rule, such as flagging every student with attendance below 75%. A model is only worth using if it clearly beats the baseline.

Decide now which groups you will compare (for example girls and boys, rural and town schools) and what difference would worry you. Deciding after seeing results invites excuses.

Step by step

  1. List the costs of each error type with the school.
  2. Choose a primary measure and a minimum acceptable precision.
  3. Define a simple baseline rule.
  4. Write down the groups and fairness measure you will compare.

Practice activity

Write an evaluation plan with the primary measure, minimum precision, baseline and fairness checks, approved before any model is trained.

Expected result: An approved evaluation plan written before seeing any model results.

Common mistakes

  • Choosing accuracy as the only measure
  • Deciding what counts as success after seeing the results

Check your understanding

  1. Which error is usually worse for a support programme?

    Show answer

    A false negative, missing a student who needed help.

  2. Why define fairness checks before modelling?

    Show answer

    So the analysis cannot be adjusted afterwards to hide problems.

Further learning

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.