Watch groups form without labels

Group seven students by quiz and project scores, without being told who belongs together.

Artificial intelligence Intermediate Unsupervised learning · Clustering ~5 min
The idea

Groups from scores, with no class given

The two-layer network was told who passed and who failed. This page is not told a group. Learning a pattern from the scores alone is called unsupervised learning.

Clustering puts nearby students in the same group. This run uses two centers. A center is one point that stands for a group. Each student joins the nearer center. Nearer means the quiz gap plus the project gap is smaller. Each center then moves to the middle of its group. The middle is the average quiz and the average project.

Two groups fit this class, and Amy switches after the centers move. One group would hide that split. A different first guess can also settle somewhere else. This page keeps one fixed guess, so the notes match the plot.

TipRed and Blue are names for the two centers, written as R and B on the plot. The colour matches the letter. It is not a label the data came with.
DataSeven students, no class
StudentQuizProject
Mei11
Ali24
Sam31
Amy66
Jo96
Kai98
Lee610

A score of 1 is low. A score of 10 is high. There is no pass or fail column.

Interactive

Run the simulation

Look at the plot first, then at the two group lists. Amy’s gaps are the numbers that decide her group.

Step 0 / 0
Quiz and project plottwo groups
Ready
Shortcuts: Space play/pause · → step · ← back · R reset
Remember

Guess, join, then move

The groups come from the scores. Nobody hands over a class label.

1

No labels

Unsupervised learning is not told the groups. The only clues are the quiz and the project.

2

Nearer center

Add the quiz gap and the project gap. The student joins the center with the smaller total.

3

Middle of the group

Each center moves to the average quiz and the average project. Then the groups are checked again.