knn example
Merge pull request #1797 from Saurabh7/xvalexamples

knn example