scikit-learn/scikit-learn — pull request #3919 by tvarvadoukas (2014-11-30 15:12:41+00:00)
Title: [MRG] Nearest neighbor radius query should include points in the boundary.

Noticed that although `kd_tree` and `ball_tree` algorithms return points in the boundaries, the `brute` method does not. Included a fix for `brute` and added a toy testcase to check the consistency between the algorithms for this edgecase.