We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cosine
1 parent f7c8546 commit 1e65bdaCopy full SHA for 1e65bda
hdbscan/hdbscan_.py
@@ -37,7 +37,7 @@
37
38
from .plots import CondensedTree, SingleLinkageTree, MinimumSpanningTree
39
40
-FAST_METRICS = KDTree.valid_metrics + BallTree.valid_metrics
+FAST_METRICS = KDTree.valid_metrics + BallTree.valid_metrics + ['cosine', 'arccos']
41
42
# Supporting numpy prior to version 1.7 is a little painful ...
43
if hasattr(np, 'isclose'):
0 commit comments