Description: Develop a k-NN classifier with Euclidean distance and simple voting.Perform 5-fold cross validation, find out which k performs the best (in terms of accuracy)。Use PCA to reduce the dimensionality to 6, then perform 2) again.
To Search:
File list (Check if you may need any files):
code_1\cross_accuracy.m
......\cross_validation.m
......\KNN.m
......\knntest.m
......\PCA.m
......\wine data.txt
code_1