Use sklearn.metrics for distance computations
The distances metrics in sklearn.metrics
are generally faster than the corresponding functions in scipy.spatial.distance. Moreover, they support multiprocessing. Hence, the metrics from sklearn have to be integrated.