mne-tools/mne-python — pull request #528 by mluessi (2013-03-22 18:58:53+00:00)
Title: ENH: Use BallTree nearest neighbor search

Use BallTree nearest neighbor search from scikit-learn in `_compute_nearest`. On my machine, the time needed to find the neighbors for `grade=5` in the `plot_morph_data.py` example goes from 7.3s to 0.3s. A speedup of 24 :-).