Transcribed Image Text
1 You are provided with training and test data samples consisting of a single variable X and an observation Y consisting of two possible classes T and F Calculate the K nearest neighbors test error rate with K 4 for the test data Training Data i 1 2 3 4 5 not 6 7 8 9 10 I 1 60 Vi T 1 50 F 0 60 T TTRE 0 30 T 0 40 F 0 40 F 0 70 T 1 20 T FF 1 30 T 2 10 F Test Data i Ji M 1 3 F 2 0 9 F 3 12 T 1
Other questions asked by students
Chemistry
Mechanical Engineering
Accounting
Accounting
Accounting
Accounting