training_intro_learning
training_intro_learning
2 Bayes classier
2.1 Uniform distributions
Assume that (X, Y ) ∈ R × {0, 1} is dened on (Ω, F, P) with P(Y = 1) = π ∈ (0, 1). Assume that
conditionally on {Y = 0} (resp. {Y = 1}) X has a uniform distribution on [0, θ] with θ ∈ (0, 1)
(resp. on [0, 1]). Compute η(X) = P(Y = 1|X).
1
3 Additional exercises
3.1 Bayes classier: excess risk
Let (X, Y ) ∈ Rd × {0, 1} be random variables dened on the same probability space (Ω, F, P). For
any classier h : X → {0, 1}, dene its classication error by
R(h) = P(Y ̸= h(X)) .
and
1
R(h) − R(h∗ ) = 2E η(X) − 1h(X)̸=h∗ (X) .
2
2. Prove that
|η(x) − 1/2|1bhn (x)̸=h∗ (x) ⩽ |η(x) − ηbn (x)|1bhn (x)̸=h∗ (x) ,
where
hn : x 7→ sign(b
b ηn (x) − 1/2) .
Deduce that
hn ) − R(h∗ ) ⩽ 2E[|η(X) − ηbn (X)|2 ]1/2 .
R(b