Misplaced Pages

Bayes error rate

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Error rate in statistical mathematics

In statistical classification, Bayes error rate is the lowest possible error rate for any classifier of a random outcome (into, for example, one of two categories) and is analogous to the irreducible error.

A number of approaches to the estimation of the Bayes error rate exist. One method seeks to obtain analytical bounds which are inherently dependent on distribution parameters, and hence difficult to estimate. Another approach focuses on class densities, while yet another method combines and compares various classifiers.

The Bayes error rate finds important use in the study of patterns and machine learning techniques.

Error determination

In terms of machine learning and pattern classification, the labels of a set of random observations can be divided into 2 or more classes. Each observation is called an instance and the class it belongs to is the label. The Bayes error rate of the data distribution is the probability an instance is misclassified by a classifier that knows the true class probabilities given the predictors.

For a multiclass classifier, the expected prediction error may be calculated as follows:

E P E = E x [ k = 1 K L ( C k , C ^ ( x ) ) P ( C k | x ) ] {\displaystyle EPE=E_{x}}

where x {\displaystyle x} is the instance, E [ ] {\displaystyle E} the expectation value, C k {\displaystyle C_{k}} is a class into which an instance is classified, P ( C k | x ) {\displaystyle P(C_{k}|x)} is the conditional probability of label k {\displaystyle k} for instance x {\displaystyle x} , and L ( ) {\displaystyle L()} is the 0–1 loss function:

L ( x , y ) = 1 δ x , y = { 0 if  x = y 1 if  x y {\displaystyle L(x,y)=1-\delta _{x,y}={\begin{cases}0&{\text{if }}x=y\\1&{\text{if }}x\neq y\end{cases}}} ,

where δ x , y {\displaystyle \delta _{x,y}} is the Kronecker delta.

When the learner knows the conditional probability, then one solution is:

C ^ B ( x ) = arg max k { 1... K } P ( C k | X = x ) {\displaystyle {\hat {C}}_{B}(x)=\arg \max _{k\in \{1...K\}}P(C_{k}|X=x)}

This solution is known as the Bayes classifier.

The corresponding expected Prediction Error is called the Bayes error rate:

B E = E x [ k = 1 K L ( C k , C ^ B ( x ) ) P ( C k | x ) ] = E x [ k = 1 ,   C k C ^ B ( x ) K P ( C k | x ) ] = E x [ 1 P ( C ^ B ( x ) | x ) ] {\displaystyle BE=E_{x}=E_{x}=E_{x}} ,

where the sum can be omitted in the last step due to considering the counter event. By the definition of the Bayes classifier, it maximizes P ( C ^ B ( x ) | x ) {\displaystyle P({\hat {C}}_{B}(x)|x)} and, therefore, minimizes the Bayes error BE.

The Bayes error is non-zero if the classification labels are not deterministic, i.e., there is a non-zero probability of a given instance belonging to more than one class. In a regression context with squared error, the Bayes error is equal to the noise variance.

Proof of Minimality

Proof that the Bayes error rate is indeed the minimum possible and that the Bayes classifier is therefore optimal, may be found together on the Misplaced Pages page Bayes classifier.


Plug-in Rules for Binary Classifiers

A plug-in rule uses an estimate of the posterior probability η {\displaystyle \eta } to form a classification rule. Given an estimate η ~ {\displaystyle {\tilde {\eta }}} , the excess Bayes error rate of the associated classifier is bounded above by:

2 E [ | η ( X ) η ~ ( X ) | ] . {\displaystyle 2\mathbb {E} .}

To see this, note that the excess Bayes error is equal to 0 where the classifiers agree, and equal to 2 | η ( X ) 1 / 2 | {\displaystyle 2|\eta (X)-1/2|} where they disagree. To form the bound, notice that η ~ {\displaystyle {\tilde {\eta }}} is at least as far as 1 / 2 {\displaystyle 1/2} when the classifiers disagree.

See also

References

  1. Fukunaga, Keinosuke (1990). Introduction to Statistical Pattern Recognition. pp. 3, 97. ISBN 0122698517.
  2. ^ K. Tumer, K. (1996) "Estimating the Bayes error rate through classifier combining" in Proceedings of the 13th International Conference on Pattern Recognition, Volume 2, 695–699
  3. ^ Hastie, Trevor (2009). The Elements of Statistical Learning (2nd ed.). Springer. p. 21. ISBN 978-0387848570.
  4. Mohri, Mehryar; Rostamizadeh, Afshin; Talwalkar, Ameet (2018). Foundations of Machine Learning (2nd ed.). p. 22.


Stub icon

This statistics-related article is a stub. You can help Misplaced Pages by expanding it.

Categories:
Bayes error rate Add topic