Unclassified positive Unclassified negative True positive (TP) False positive (FP) False negative (FN) True negative (TN)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

3D Confusion Matrix Threshold Lab

Every sample in this scene is a point positioned by its classifier score, and every point knows its own true class. Drag the translucent decision plane through the field and each point recolors the instant the plane crosses it — green for a true positive, red for a false positive, amber for a false negative, gray-blue for a true negative — while a cluster of four bars behind the field renders the confusion matrix itself in 3D, height tied directly to a live recount. Precision, recall, F1 and accuracy in the sidebar come straight from those same four counts, so orbiting the scene and watching individual points flip category is the same operation as reading the numbers — just made physical.