Nearest Neighbors

Base Algorithms

Example: find NNs between 2 sets of data

Example: Return a Graph (sparse) w/ connections between points

Example: KDTree implementation

KNN and Radius-based NN Classification

Example: 3-class NN analysis - uniform vs distance weights

KNN and Radius-based NN Regression

Example: NN regression - uniform vs distance weights

Example: upper/lower half face matching

Algorithm Comparison

Nearest Centroid Classifier

Example: 3-class classification with different shrink thresholds

KNN and Radius-based NN Transformers

Example: Approximate NNs pipelined to TSNE

- **** TODO: SOLVE Attribute error bug - ticket submitted to scikit-learn github account ****

Example: Nearest Neighbors Caching

Neighborhood Components Analysis

Example: Using NCA to learn an embedding

NCA Classification

Example: NN classification with/without NCA

NCA and Dimensionality Reduction

Example: Dimensionality Reduction - NCA vs LDA vs PCA