Skip to content

Commit

Permalink
Merge pull request #132 from birdsarah/131_spelling_of_metric_names_i…
Browse files Browse the repository at this point in the history
…n_docs

Docs updates for available metrics
  • Loading branch information
lmcinnes authored Aug 25, 2018
2 parents 1e9a85b + 8c9bd92 commit 53c11a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion doc/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ of metrics, including:
- hamming
- jaccard
- dice
- russelrao
- russellrao
- kulsinski
- rogerstanimoto
- sokalmichener
Expand Down
27 changes: 15 additions & 12 deletions umap/umap_.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,27 +367,30 @@ def fuzzy_simplicial_set(
returns a float can be provided. For performance purposes it is
required that this be a numba jit'd function. Valid string metrics
include:
* euclidean
* manhattan
* chebyshev
* minkowski
* canberra
* euclidean (or l2)
* manhattan (or l1)
* cityblock
* braycurtis
* mahalanobis
* wminkowski
* seuclidean
* cosine
* canberra
* chebyshev
* correlation
* haversine
* cosine
* dice
* hamming
* jaccard
* dice
* russelrao
* kulsinski
* mahalanobis
* matching
* minkowski
* rogerstanimoto
* russellrao
* seuclidean
* sokalmichener
* sokalsneath
* sqeuclidean
* yule
* wminkowski
Metrics that take arguments (such as minkowski, mahalanobis etc.)
can have arguments passed via the metric_kwds dictionary. At this
time care must be taken and dictionary elements must be ordered
Expand Down

0 comments on commit 53c11a2

Please sign in to comment.