Classification

Teach computers to pick a category — spam vs not spam, cat vs dog, pass vs fail.

Binary vs multi-class

Binary: Two classes (spam / not spam).

Multi-class: Three or more (cat, dog, bird).

A decision boundary separates regions: points on one side → class A, other side → class B.

Spam Simulator

Tradeoff: Lower threshold catches more spam but may flag real emails (false positives).