scikit-learn/scikit-learn — pull request #507 by jakevdp (2011-12-21 17:06:04+00:00)
Title: MRG: Convert BallTree to Nearest Neighbors

This pull request contains changes to three modules:

- `sklearn.clustering.mean_shift`
- `sklearn.clustering.isomap`
- `sklearn.clustering.locally_linear_embedding`

Previously, all three used a `BallTree` object directly. With this pull request, they use a `NearestNeighbors` object for more flexibility. All previous tests pass, and example plots appear unchanged.