Reference · GlossaryClassificationPredicting a **discrete label** — spam/not, yes/no, cat/dog — from inputs or scores.On this pageWhen to useWhen not toExample#When to useRouting tickets, filtering content, or any “pick a bucket” decision in ML intro labs.#When not toWhen the target is a continuous number — that’s regression (price, temperature).#ExampleScores ≥ 0.5 → label 1 (approve), else 0 — a binary classifier with one threshold.Learn by doing → Learn by doing →Related termsSupervised learningThresholdConfusion matrix← All terms