create kNN classifier for dataing test set