scikit-learn/scikit-learn — pull request #2532 by robertlayton (2013-10-18 04:24:13+00:00)
Title: WIP: Support for distance matrices in NearestNeighbor

Support for NearestNeighbor (the unsupervised one) to handle being given a distance matrix (i.e. a matrix D such that D[i][j] is the distance between samples i and j).