faces_classify_knn, a scikit-learn code which uses the k-nearest neighbor algorithm to match new faces with images in the faces dataset.
The computer code and data files described and made available on this web page are distributed under the MIT license
cancer_classify_knn, a scikit-learn code which uses the k-nearest neighbor algorithm on the breast cancer dataset, comparing the training and testing accuracy as the number of neighbors is increased.
forge_classify_knn, a scikit-learn code which uses the k-nearest neighbor algorithm to choose one of two classes for each of 26 items in the forge dataset, involving two features.
iris_classify_knn, a scikit-learn code which uses the k-nearest neighbor algorithm to classify the species of iris specimens based on sepal and petal measurements.
wave_regression_knn, a scikit-learn code which uses the k-nearest neighbor algorithm to form a regression predictor for the wave dataset.