Precision and recall
Recall that precision is the fraction of positive predictions that are correct. In our SMS spam classifier, precision is the fraction of messages classified as spam that are actually spam. Sometimes called sensitivity in medical domains, recall is the fraction of the truly positive instances that the classifier recognized. A recall score of 1 indicates that the classifier did not make any false negative predictions. For our SMS spam classifier, recall is the fraction of truly spam messages that were classified as spam.
Individually, precision and recall are seldom informative; they are both incomplete views of a classifier's performance. Both precision and recall can fail to distinguish classifiers that perform well from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access