Question: Consider using kNN density estimation to separate two equi-likely classes using l = 1 feature. You are given four training values, two for each

  Consider using kNN density estimation to separate two equi-likely classes using l = 1 feature. You are given 

Consider using kNN density estimation to separate two equi-likely classes using l = 1 feature. You are given four training values, two for each class: X (1) [-2 1] X() = [35]. = Use k = 2 to classify the test value x = 1.6. Specifically a. On the real line, plot the two training sets (e.g., x's for class 1, o's for class 2). Add the test value. b. Compute p(x|w). c. Compute p(x|w). d. Use these results to determine the class of the test value. Hint: For 1-dimensional feature vectors, "volume" is determined by the length of a line segment centered at the test value.

Step by Step Solution

3.35 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a On the real line plot the two training sets eg xs for class 1 os for class 2 Add ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!