Skip to main content
. 2016 Mar 9;17:208. doi: 10.1186/s12864-016-2553-1

Table 4.

Description of a confusion matrix for binary classes with observed values and classifier predicted values

Classifier predicted value Sum
1 0
Observed 1 tp fn (Type II error) tp + fn
0 fp (Type I error) tn fp + tn
Sum tp + fp fn + tn n

tp true positive, fp false positive, fn false negative, tn true negative, n total number of individuals