Skip to content

Commit

Permalink
Fix metric listing in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Jun 27, 2018
1 parent 648013c commit 3e04b30
Showing 1 changed file with 31 additions and 12 deletions.
43 changes: 31 additions & 12 deletions doc/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,18 +306,37 @@ The final UMAP parameter we will be considering in this notebook is the
ambient space of the input data. By default UMAP supports a wide variety
of metrics, including:

**Minkowski style metrics** \* euclidean \* manhattan \* chebyshev \*
minkowski

**Miscellaneous spatial metrics** \* canberra \* braycurtis \* haversine

**Normalized spatial metrics** \* mahalanobis \* wminkowski \*
seuclidean

**Angular and correlation metrics** \* cosine \* correlation

**Metrics for binary data** \* hamming \* jaccard \* dice \* russelrao
\* kulsinski \* rogerstanimoto \* sokalmichener \* sokalsneath \* yule
**Minkowski style metrics**
- euclidean
- manhattan
- chebyshev
- minkowski

**Miscellaneous spatial metrics**

- canberra
- braycurtis
- haversine

**Normalized spatial metrics**
- mahalanobis
- wminkowski
- seuclidean

**Angular and correlation metrics**
- cosine
- correlation

**Metrics for binary data**
- hamming
- jaccard
- dice
- russelrao
- kulsinski
- rogerstanimoto
- sokalmichener
- sokalsneath
- yule

Any of which can be specified by setting ``metric='<metric name>'``; for
example to use cosine distance as the metric you would use
Expand Down

0 comments on commit 3e04b30

Please sign in to comment.