You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, passing metric='sqeuclidean' to pairwise_distances falls back to scipy pairwise distance calculations instead of using the fast (and less accurate) implementation in scikit-learn. As a result, it can be up to 10x slower in some cases,
this is particularly confusing because people who would use sqeuclidean will mostly do it for performance reasons, I think, to save one square root computation with repsect to euclidean.
The text was updated successfully, but these errors were encountered:
Currently, passing
metric='sqeuclidean'
topairwise_distances
falls back to scipy pairwise distance calculations instead of using the fast (and less accurate) implementation in scikit-learn. As a result, it can be up to 10x slower in some cases,this is particularly confusing because people who would use
sqeuclidean
will mostly do it for performance reasons, I think, to save one square root computation with repsect toeuclidean
.The text was updated successfully, but these errors were encountered: