FOUNDATIONS · LESSON 6 OF 278

Classification

Understand how AI can sort an input into one of several categories.

What you will learn

Understand how AI can sort an input into one of several categories.

In simple words

Classification is used when the answer belongs to a category. For example, an email can be classified as spam or not spam, or an image can be classified as cat, dog, or another class. The model learns patterns that help it decide which class best matches a new input.

Visual explanation: Finding a boundary

The model learns a boundary that helps separate examples belonging to different categories.

WATCH THE IDEA

Finding a boundary

Playing
Class ADecision boundaryClass B
  1. 1Observe: Class A
  2. 2Transformation: Decision boundary
  3. 3Outcome: Class B

Observe: Class A. The model learns a boundary that helps separate examples belonging to different categories.

The diagram highlights Class A, Decision boundary, Class B. Use the labels to trace the main relationship from left to right.

Real-world example: Support-ticket routing

A software company sends incoming tickets to billing, technical support, or security teams.

What the team decides: Measure whether the classifier sends urgent security issues to the correct queue.

Risk to avoid: A high average score can hide a costly failure on a rare priority category.

Technical explanation

Classification is used when the answer belongs to a category. For example, an email can be classified as spam or not spam, or an image can be classified as cat, dog, or another class. The model learns patterns that help it decide which class best matches a new input.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

What does a classification model predict?

Practical application

Measure whether the classifier sends urgent security issues to the correct queue.

Key takeaway

Classification predicts a category; regression predicts a numeric value.

Next concept

Continue with Generalisation.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16