VALID_BALLTREE_METRICS¶
- PLSCAN.VALID_BALLTREE_METRICS = ['euclidean', 'l2', 'manhattan', 'cityblock', 'l1', 'chebyshev', 'infinity', 'minkowski', 'p', 'seuclidean', 'braycurtis', 'canberra', 'haversine', 'mahalanobis', 'hamming', 'dice', 'jaccard', 'russellrao', 'rogerstanimoto', 'sokalsneath']¶
The distance metrics implemented for use with BallTrees.
A superset of
VALID_KDTREE_METRICSthat adds metrics only available on BallTrees:seuclidean,braycurtis,canberra,haversine,mahalanobis, and all boolean metrics (hamming,dice,jaccard,russellrao,rogerstanimoto,sokalsneath).