Professional Documents
Culture Documents
Precision is
(Correctly predicted Positive) / (total predicted Positive) =
(TP) / (TP+FP)
Recall is
(Correctly predicted Positive) / (total correct Positive
observation)= (TP) / (TP+FN)
Like so:
Accuracy: Overall, how often is the classifier correct?
Accuracy = (TP+TN) / (TP +FP+TN+FN)
Note:
Recall tells you how much of the +ve's you can find.
Precision tells you how much junk there is in your
predicted +ve's.
Another Example:
Actual male 42 8
classes
female 18 32
This means that the classifier correctly predicted a male
person in 42 cases and it wrongly predicted 8 male
instances as female.
More formulas:
FPR = (FP/FP+TN
POSITIVE = TP+FN
NEGATIVE = TP+FP