2 ms·
> They wanted to calculated the distances of n points against a given point and find out which points are closer than a threshold (max_dist). Scipy should have
by akasakahakada 4y ago
> They wanted to calculated the distances of n points against a given point and find out which points are closer than a threshold (max_dist).
Scipy should have already implemented such thing. Scikit-Learn also. Because KNN clustering is exactly doing this kind of work.