Michael BalogunFrontend & Full-Stack Engineer
--:--:-- WAT

04Machine Learning

Admission Predictor

Modelling the odds before a student applies

A machine-learning system that estimates admission probability for ten Nigerian universities from UTME scores and O'Level grades — and refuses to answer when the subject combination is not valid in the first place.

Year
2025
Role
Solo engineer · Data
Stack
Python · scikit-learn · pandas · Streamlit · ReportLab
A — The problem

Applicants choose a university and course blind, then wait months to learn they were never eligible. The requirements exist — subject combinations, cut-offs, course-by-course rules — but they are scattered across brochures and hearsay.

B — What it does
  • 01Estimates admission probability from a student's UTME score and O'Level grades.
  • 02Validates JAMB subject combinations and O'Level requirements against an encoded table of 50 courses, with per-university cut-offs and catchment rules for 10 federal institutions.
  • 03Generates a PDF report the student can keep or show to someone advising them.
C — Decisions & trade-offs
  1. D-01

    Rules gate the model, not the other way round

    Eligibility is checked deterministically before anything is predicted. If a student's subject combination is not valid for Pharmacy, the system says so — it does not hand back a 12% probability for an application that cannot succeed.

    Trade-offMaintaining an encoded requirements table (`data/jamb_olevel_mapping_comprehensive.csv`) is ongoing manual work as institutions change rules. A model alone would need no maintenance and would be confidently, uselessly wrong.

  2. D-02

    A rule-based path the model can fall back to

    Prediction tries the trained classifier for the course's category and falls back to an explicit scoring function when no model covers it. A student always gets an answer with a reason attached, rather than an error or a silent zero.

    Trade-offTwo code paths that have to agree on what a probability means. Preferable to a UI that breaks for any course outside the nine categories I trained models for.

  3. D-03

    Streamlit instead of a React frontend

    The value here is the requirements data and the eligibility logic. Streamlit put a usable interface in front of it in hours, which meant the next fortnight went into validation and features instead of component work.

    Trade-offLimited control over UX and no path to a polished consumer product. If it graduates from tool to product, the frontend is a rewrite — and that is a fine problem to have later.

  4. D-04

    Models trained offline and committed

    Nine pre-trained artefacts live in `models/`, one per course category, so the app boots and predicts immediately with no training step at startup.

    Trade-offModel updates require a deploy, the binaries sit in version control, and — the real cost — the training run lives outside this repository, so its evaluation cannot be reproduced from a clone. That is a gap I would close before quoting an accuracy number anywhere.

D — Outcome
50courses with encoded JAMB and O'Level requirements
10universities with cut-offs and catchment rules
9category classifiers, plus a rule-based fallback
E — Known limits
  • The 96.3% accuracy quoted in the project README is not reproducible from this repository — the training and evaluation code is not in it — so I do not present that figure as a result. Rebuilding the training run so the number can be earned back is the outstanding work.
  • Cut-offs and requirements are a hand-maintained snapshot. They go stale every admission cycle and need re-verifying against each institution.