Question: (a) Recall from the notes we had the following data set for the KNN model. Instead of using Euclidean distance, compare the results from what


(a) Recall from the notes we had the following data set for the KNN model. Instead of using Euclidean distance, compare the results from what is obtained in the notes by using distance = E[[x x | + yi yl] to now predict the classification for (22,6) for k =3. Make sure to post the results in the table below. Use a simple decision rule. X Y Classification (A or B) Distance 5 14 A 6 49 B 3 17 A 1 60 A 17 29 B 63 50 A 23 61 B 69 54 B 3 76 B 53 9 A 4 37 B 25 11 22 6 ?? (b) Given the following Diagram. Predict the classification of: when we let k =9 between a heart, yellow ball, or smiley face. Use concentric circles to make your decision. Note that the distance is measured from the cross to the object using the closest edges. (a) Recall from the notes we had the following data set for the KNN model. Instead of using Euclidean distance, compare the results from what is obtained in the notes by using distance = E[[x x | + yi yl] to now predict the classification for (22,6) for k =3. Make sure to post the results in the table below. Use a simple decision rule. X Y Classification (A or B) Distance 5 14 A 6 49 B 3 17 A 1 60 A 17 29 B 63 50 A 23 61 B 69 54 B 3 76 B 53 9 A 4 37 B 25 11 22 6 ?? (b) Given the following Diagram. Predict the classification of: when we let k =9 between a heart, yellow ball, or smiley face. Use concentric circles to make your decision. Note that the distance is measured from the cross to the object using the closest edges
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
