What is AI classification? Explained with a post room
AI classification is when a model sorts each item, like an email or a document, into one of a fixed list of categories, with a score for how sure it is. Think of a post room sorter filling pigeonholes.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- AI
This week's news about Microsoft Decision 1.1 and AWS's Strands Decider v2 was about AI models built to do one job well: sort things into a fixed set of choices. That job is called classification.
In one sentence: AI classification is when a model looks at something, such as an email, a document or a photo, and puts it into one of a fixed list of categories you chose in advance, usually with a score that says how sure it is.
The everyday picture
Think of the post room in a large office. Letters arrive all day. A sorter reads each envelope and drops it into one of a row of pigeonholes: Accounts, Sales, Legal, Reception.
The sorter never writes a reply. Their only job is to pick the right pigeonhole, quickly. And a good sorter knows when they are unsure. A smudged address goes to the supervisor's tray instead of a guess.
AI classification works the same way. The pigeonholes are the categories (people call them labels or classes). The sorter is the model. The supervisor's tray is the point where a person checks the hard cases.
The sorter (the classifier) reads each letter and scores the pigeonholes. When it is confident, the letter goes straight into one. When it is unsure, the supervisor decides. Either way, the right team picks it up.
How it works, step by step
- You choose the labels (you put up the pigeonholes). For example: "refund", "delivery problem", "product question", "other". The list is fixed, so every item must fit one of them.
- An item arrives (a letter lands on the sorter's desk). It can be text, and many newer models also accept images such as a screenshot or a scanned form.
- The model scores each label (the sorter reads the envelope and weighs the options). It returns a score between 0 and 1 for the choices, which reads like a probability: 0.9 for "refund", 0.06 for "delivery problem", and so on.
- A threshold decides what happens next (the sorter's rule for when to ask). If the top score is above a line you set, the item goes straight into that pigeonhole. If not, it goes to a person.
- The label triggers the next step (the right department picks up the letter). The ticket goes to the right team, the document goes into the right folder, or the request is flagged for review.
Try it · Try the dial
Where would you set the sorter's confidence line?
Drag the dial and watch what changes.
Middle line: clear cases are filed automatically and borderline ones go to a person. A common starting point to test.
Where you draw that line is a trade-off. Google's machine learning course explains that raising the threshold usually means fewer wrong "yes" answers (false positives) but more missed ones (false negatives), and lowering it does the opposite. There is no single right setting; it depends on which mistake costs you more.
Where the picture stops
- A human sorter can say "this needs a new pigeonhole". A classifier cannot. It always picks from the list you gave it, so add an "other" or "not sure" option if items might not fit.
- A model's score is not a promise. Scikit-learn's guide explains that a well-calibrated score of 0.8 means about 80% of such items really belong there, but not every model's scores are well calibrated. You only find out by testing on your own past cases.
- The sorter learned from experience over years. A classic classifier learns from many labelled examples, while a general AI model can classify from instructions in a prompt. Both can still get things wrong in ways a person would not.
Try it · Myth or fact
AI classification: myth or fact?
Decide for yourself first, then tap each statement to check it.
0 of 3 checked
Why it matters for your business
- Speed: sorting is often the first step of a workflow. Doing it automatically means tickets, invoices and requests reach the right person sooner.
- Cost: sorting does not need a model that writes long answers. Google says its Decisions API scores the options in a single pass instead of writing an answer word by word, and it quotes response times of a fraction of a second.
- Risk: the score lets you send only the unsure cases to a person, so people spend their time where judgement is really needed.
- Customers: a message that lands with the right team first time gets a better answer, faster.
An example
Imagine a 15-person online shop that gets a few hundred customer emails a day. Today one person reads every email and forwards it. The shop sets up a classifier with four labels: refund, delivery, product question and other.
Before switching it on, they run last month's emails, where they already know the right answer, through the model and compare. They set a threshold so that anything the model is unsure about goes to the same person as before. Most emails now go straight to the right inbox, the hard ones still get human eyes, and every decision is logged so they can check it later.
Frequently asked questions
Is classification the same as a chatbot?
No. A chatbot writes a reply. A classifier only picks a label from a list you set. Many systems use both: a classifier sorts the message, then a person or a chat model writes the answer.
Do I need to train my own model?
Not always. General AI models can classify from a clear prompt with your labels, and vendors now offer models built only for fixed-choice decisions. Training or fine-tuning your own makes sense when your categories are very specific to your business.
How do I know if it is accurate enough?
Test it on a few hundred past cases where you already know the right answer. Count both kinds of mistake, the wrong labels and the missed ones, and decide which one matters more to you.
Should AI make the final call on important decisions?
For decisions about people, such as credit, jobs or health, keep a person responsible for the outcome. Use the classifier to sort and prioritise, and send anything important or uncertain to a human.
Related explainers
The DevDrift builds AI automation with approvals and audit trails: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.