A single accuracy number hides where a classifier goes wrong. The confusion matrix shows every kind of mistake. Click a cell to see exactly which points landed in it.
For any class, treat it as "positive" and everything else as "negative". Its TP is the diagonal cell, its FN is the rest of its row (missed), and its FP is the rest of its column (wrongly claimed). Click a row to inspect that class.
Accuracy averages over every sample, so big classes dominate it. Per-class precision and recall expose the small ones. Shrink class B in the lab and watch its bars drop while accuracy barely moves. Click a group of bars to select that class.
Missing a fraud case is rarely as cheap as a false alarm. Set a price for each kind of error on the selected class, then see which way of tilting the model costs least. Each row tilts the model toward one class at the current Strength setting (3 when that slider is at 0). Everything below recalculates from the live matrix whenever you change a cost, the selected class or the strength. Click a row to apply it.
A model with the highest accuracy is not always the cheapest one. Choose the cells you most want to shrink, then tune the model to shrink them.
Make class B only 5% of the data. Accuracy stays high while class B is quietly swallowed by its neighbours.
Push the overlap to the maximum. The off-diagonal cells fill up as the clusters merge.
Favour class C strongly. Column C fills with false positives while recall of the others drops.