Question: Suppose there is a single feature, denoted by X which takes values in the set {1, 2, 3} and a binary label Y {0, 1}.
Suppose there is a single feature, denoted by X which takes values in the set {1, 2, 3} and a binary label Y {0, 1}. The distribution D is described as follows:
Pr(X=i) = 1/4, i{1,2}
Pr(X=3) = 1/2, Pr(Y =1|X=i) = 1, i{1,3}
Pr(Y =0|X=i) = 1, i{2}
Let h be the classifier: h(x) = 1 if x > 1.5 and 0 otherwise. Calculate the error of h with respect to D.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
