MODULO Machine Learning: Artificial Intelligence SagaTHEORY
Build a confusion matrix
Predictions for four days are alert, alert, quiet, quiet. Actual stockouts are yes, no, yes, no. Put each day in a cell of a two-by-two table.
Check your work
There is one true positive, one false positive, one false negative and one true negative. The third day is the missed stockout. Label both axes before counting so predicted alerts stay separate from observed events.
