Can you save the gym offer?
A classifier sorts things into groups. This one decides which emails go to Inbox and which go to Junk.
What else will get through if you save it?
Across all 8 emails
- Wanted emails in Junk
- Junk emails in Inbox
Wrong folder
Why these points?
Can one line get every envelope right?
To keep the gym’s 7 points in Inbox, the line has to be higher than 7. To catch the scam’s 6 points, it has to be 6 or lower. One line can’t do both.
The filter gave a wanted email more points than a junk email. Moving the line changes where they go, not which one scored higher. Changing the clues or how the filter uses them might help.
What is a classifier?
A classifier is an automatic sorter. Give it an email, a photo, or a review and it picks from groups you’ve defined. A label can tell software what to do next: tuck away likely junk, bring a complaint to a person’s attention, or find photos with cats. A classifier can do that for thousands of things. People can still check the mistakes that matter.
This demo uses eight fictional emails and four rules we wrote by hand. It only reads the subject. Each clue adds its points once, even if it appears twice. The points aren’t odds, and the scoring rules don’t know which messages we marked as wanted. Other classifiers can learn patterns from examples, like emails people have marked as junk.
Is that the same as a transformer?
Classification is a job. A transformer is one way to build a model. A transformer can read a message and pick a label. A chatbot can use a transformer for a different job: guessing the next bit of text, then doing it again. This mail sorter doesn’t need a transformer or a chatbot.
A mail sorter asks “Where should this go?” A sentiment classifier asks “How does this sound?” Both pick labels, but for different reasons. The next-token demo asks “What might come next?”