Question: Question 1 . 5 . Define the function three _ classify that takes a row from test as an argument and classifies the row based
Question Define the function threeclassify that takes a row from test as an argument and classifies the row based on using Nearest Neighbors. Use this function to find the accuracy of a NN classifier on the test set. accuracy should be a proportion not a percentage of the schools that were correctly predicted. points
Hint: You should be using a function you just created!
Note: Usually before using a classifier on a test set, we'd classify first on a "validation" set, which we then can modify our training set again if need be before actually testing on the test set. You don't need to do that for this question, but you will learn about this more in Data : grader.checkq
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
