Supervised vs Unsupervised

Machine learning splits into two great families, depending on whether the examples come with answers attached.

Labels, or no labels

The same points, two situations. In the supervised view they arrive pre-coloured by their true class, and the model learns the boundary between them. In the unsupervised view they're all one colour, and the model must discover the two groups itself. Toggle between them.

Which problem are you solving?

The question "do I have labelled answers?" decides everything downstream — which algorithms apply, how you measure success, even how much data you need. Most of this course is supervised (it's where the clearest ideas live), starting with linear regression; we return to the unsupervised world at the end. (There's a third cousin, reinforcement learning, where an agent learns from rewards — a story for another day.)