sklearn.neighbors.NearestNeighbors源码笔记
参数: n_neighbors:整数,可选(默认值为5),用k_neighbors查找的近邻数。 radius:浮点数,可选(默认值为1.0) algorithm:{‘auto’,’ball_tree’,’kd_tree’,’brute’},可选 算法用来计算临近的值,‘ball_tree’会用BallTree,’kd_tree’会用KDtree,’brut