Skip to content

Sep 2023 – Feb 2024

UCM course recommender

Students at University College Maastricht build their own degree from 193 courses. In a student team, I designed a recommender, wrote the part that matches interests to courses, and fine-tuned BERT to label each course's thinking skills. Its fail warning was right 90% of the time, but always guessing a pass scored 92%.

Workflow

Section 01 / 04

How it works

  1. 01One request, one shortlist

    A student lists weighted interests and the thinking skills they value. The recommender scores every open course, checks for likely fails and returns a shortlist for each teaching period.

  2. 02Matching interests by meaning

    Course descriptions and interests become numbers that capture meaning. A small layer trained for the course first adjusts each interest, so 'models' reads differently in statistics and in art.

  3. 03A shortlist for each period

    Interest ranks the courses. Only the best few get a thinking-skills bonus, so it cannot lift weak matches. I then fill up to seven places in each of four periods.

  4. 04A warning before a likely fail

    I trained 144 random forests, one per course, on 45,142 results from 1,822 past students. A likely fail keeps the course listed, with a warning and courses to take first.

Features

Section 02 / 04

What it does

  • Why this course?

    Ask why a course was suggested and get a short answer that links your interests to it.

  • Your way of thinking

    Say how much you like to create, analyse, apply or remember to reorder your top matches.

  • Early warning

    See when your past results suggest a likely fail, with related courses to take first.

  • A three-year plan

    Get a suggested plan for all three years that follows the degree rules.

Motivation

Section 03 / 04

Why I built it

The project ran from September 2023 to February 2024, funded by the Netherlands AI Coalition. In October I designed the recommender and wrote the interest matcher. In November I added the explanations, and in December the fail warning.

A teammate added a planner for all three years. No students or staff used the recommender. The code is public on GitHub.

Stack

Section 04 / 04

What it runs on

Python, PyTorch, Hugging Face
Matching interests to courses by meaning
PyTorch, Hugging Face
A fine-tuned BERT that labels each course with Bloom's levels
pandas, scikit-learn
Predicting a likely fail from past results
OpenAI API
Written explanations
MongoDB
Saving each student's results