Machine Learning

Classification

A type of supervised learning task where the model predicts which category or class an input belongs to. The output is a discrete label rather than a continuous value.

Why It Matters

Classification is one of the most common ML applications — from spam detection and medical diagnosis to sentiment analysis and image recognition.

Example

An email spam filter classifying each incoming email as 'spam' or 'not spam', or a medical AI classifying skin lesions as 'benign' or 'malignant'.

Think of it like...

Like a mail sorter at the post office who looks at each letter and puts it in the correct bin based on the zip code — each item goes into exactly one category.

Related Terms