# Classification

*noun*

say it: **“klas-uh-fih-KAY-shun”** **/ˌklæsəfɪˈkeɪʃən/**

In machine learning, sorting each example into one of a fixed set of categories, such as spam or not spam, learned from examples with known answers.

## What is **classification** in machine learning?

**Classification** is machine learning that guesses a category: one answer out of a fixed set, such as spam or not
spam, or which fruit is on the scale. It learns from examples that come with their answers. Guessing a number instead
is regression.

## In a sentence

- “The fruit sorter does **classification**: every fruit gets one of three names.”
- “Deciding whether an email is spam is a **classification** problem with two answers.”

Level: Apprentice · [More AI Basics terms at this level](https://www.ask-codey.com/glossary?category=ai&level=2)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/classification
