Question: In this problem, Youll be evaluating k-NN for k = 1:100 for the wine data (winedata.csv) and compare the accuracy and error for the different
In this problem, Youll be evaluating k-NN for k = 1:100 for the wine data (winedata.csv) and compare the accuracy and error for the different k-NNs for the test set (winedata_test.csv). For this problem you can use the kNN() program in R that we used in class. How does the accuracy and error of these k-NN models change with k, the number of nearest neighbors?



Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
