From: Investigating class rarity in big data
Predicted class
Positive
Negative
Actual class
 Positive
True positive (TP)
False negative (FN) (Type II error)
 Negative
False positive (FP) (Type I error)
True negative (TN)