Английская Википедия:Bayes error rate
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.[1][2]
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.[2]
The Bayes error rate finds important use in the study of patterns and machine learning techniques.[3]
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:[3]
- <math> EPE = E_x[ \sum_{k=1}^K L(C_k, \hat{C}(x))P(C_k|x)]</math>
where x is the instance, <math>E[]</math> the expectation value, Ck is a class into which an instance is classified, P(Ck|x) is the conditional probability of label k for instance x, and L() is the 0–1 loss function:
- <math>L(x,y)= 1-\delta_{x,y}=\begin{cases}0 & \text{if } x=y \\ 1 & \text{if } x\neq y \end{cases},</math>
where <math>\delta_{x,y}</math> is the Kronecker delta.
When the learner knows the conditional probability, then one solution is:
- <math> \hat{C}_B(x) = \arg \max_{k\in\{1 ... K\}} P(C_k|X=x) </math>
This solution is known as the Bayes classifier.
The corresponding expected Prediction Error is called the Bayes error rate:
- <math> BE = E_x[\sum_{k=1}^K L(C_k, \hat{C}_B(x))P(C_k|x)] = E_x[\sum_{k=1, \ C_k \neq \hat{C}_B(x) }^K P(C_k|x)] = E_x[1-P(\hat{C}_B(x)|x)] </math>,
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 <math>P(\hat{C}_B(x)|x)</math> 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.[4] In a regression context with squared error, the Bayes error is equal to the noise variance.[3]
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 Wikipedia page Bayes classifier.
Plug-in Rules for Binary Classifiers
A plug-in rule uses an estimate of the posterior probability <math>\eta</math> to form a classification rule. Given an estimate <math>\tilde \eta</math>, the excess Bayes error rate of the associated classifier is bounded above by:
<math display='block'>2 \mathbb E [|\eta(X) - \tilde \eta (X)|].</math>
To see this, note that the excess Bayes error is equal to 0 where the classifiers agree, and equal to <math>2|\eta(X) - 1/2|</math> where they disagree. To form the bound, notice that <math>\tilde \eta</math> is at least as far as <math>1/2</math> when the classifiers disagree.
See also
References
- ↑ Шаблон:Cite book
- ↑ 2,0 2,1 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,0 3,1 3,2 Шаблон:Cite book
- ↑ Шаблон:Cite book