Join IDNLearn.com and become part of a knowledge-sharing community that thrives on curiosity. Discover in-depth answers from knowledgeable professionals, providing you with the information you need.

Define the function three_classify that takes a row from test as an argument and classifies the row based on using 3-Nearest Neighbors. Use this function to find the accuracy of a 3-NN classifier on the test set. accuracy should be a proportion (not a percentage) of the schools that were correctly predicted.