Skip to main content
. 2010 Jul 29;4(Suppl 1):S3. doi: 10.1186/1752-153X-4-S1-S3

Table 10.

Confusion matrix for two class classifier (P- positive and N- negative).

Predicted

Non-carcinogens
(Negative)
Carcinogens
(Positive)
Total predicted
Observed Non-carcinogens
(Negative)
TN FP Nnegative = TN + FP

Carcinogens
(Positive)
FN TP Npositive = FN + TP

Total observed TN + FN FP + TP Ntotal = Nnegative + Npositive

*Definitions in Table 6:

TP-True positive;

TN-True negative;

FP-False positive;

FN-False negative.

Nnegative is the number of negative (non-carcinogens) in the dataset;

Npositive is the number of positive compounds (carcinogens) in the dataset;

Ntotal is total number of negative (non-carcinogens) and positive compounds (carcinogens) in the dataset;