Homework 9

We would like to conduct cross-validation on selecting k of knn.

Write a CV procedure in R, and find the best k using the training set. Then predict the test set. Discuss the different with/without selecting k.

Write a short report (<= 2 pages in English).


Last modified: Sat Apr 29 19:56:14 CST 2006