![cover image](https://wikiwandv2-19431.kxcdn.com/_next/image?url=https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Binary-classification-labeled.svg/640px-Binary-classification-labeled.svg.png&w=640&q=50)
Binary classification
Dividing things between two categories / From Wikipedia, the free encyclopedia
Binary classification is the task of classifying the elements of a set into one of two groups (each called class). Typical binary classification problems include:
- Medical testing to determine if a patient has certain disease or not;
- Quality control in industry, deciding whether a specification has been met;
- In information retrieval, deciding whether a page should be in the result set of a search or not
- In administration, deciding whether someone should be issued with a driving licence or not
- In cognition, deciding whether an object is food or not food.
This article needs additional citations for verification. (May 2011) |
When measuring the accuracy of a binary classifier, the simplest way is to count the errors. But in the real world often one of the two classes is more important, so that the number of both of the different types of errors is of interest. For example, in medical testing, detecting a disease when it is not present (a false positive) is considered differently from not detecting a disease when it is present (a false negative).
![](http://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Binary-classification-labeled.svg/220px-Binary-classification-labeled.svg.png)
TP=true positive; TN=true negative; FP=false positive (type I error); FN=false negative (type II error); TPR=set of instances to determine true positive rate; FPR=set of instances to determine false positive rate; PPV=positive predictive value; NPV=negative predictive value.