Proposition (Bayes classifier)

A Bayes classifier is given by $$ \begin{align*} δ_π(x) = \begin{cases} 1, &\text{if $\frac{π_1 f_1(x)}{π_0 f_0(x)}>1$}, \\ 0, &\text{otherwise}. \end{cases} \end{align*} $$

If $\prob[\frac{π_1 f_1(X)}{π_0 f_0(X)} = 1] = 0$, then any Bayes classifier $δ$ satisfies $δ(X) = δ_π(X)$ almost surely.

Proof