Explain it simpler
Classification means sorting things into groups that you already know about. If there are only two groups, like spam or not spam, that is binary classification. If there are three or more, like which of five teams should handle a support ticket, that is multiclass classification. To judge a sorting model, you count its mistakes in a small table called a confusion matrix. Think of a smoke alarm. It can ring when there is no fire (a false alarm) or stay silent when there is a fire (a miss). Different scores tell you how often each kind of mistake happens, and the right score depends on which mistake hurts more. A silent alarm in a real fire is far worse than burnt toast setting it off.
You are the new analyst at Harbor Credit Union, and the vendor demo is going well. The fraud model on the projector claims 99 percent accuracy, and the room is nodding. Then Priya from the card operations team raises her hand. She asks how many of last quarter's actual fraud cases the model caught. The vendor pauses, scrolls, and admits it is fewer than half. The room goes quiet. How can a model be right 99 percent of the time and still miss most of the fraud? And which number should you have asked for in the first place?
Classification is supervised machine learning that predicts which category, or class, an item belongs to. It is supervised because the training data includes the right answer for every example, so the model learns from labeled history. Binary classification has exactly two possible classes: spam or not spam, fraud or legitimate, will churn or will stay. Multiclass classification has three or more: which of five teams should get this support ticket, which species a flower is, which of ten digits has been handwritten in a box on a form. The number of classes, not the wording of the scenario, decides which type you are looking at.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.