Skip to content

Commit

Permalink
Correct default a,b values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmelville committed Apr 7, 2019
1 parent 35e191a commit ab4015e
Show file tree
Hide file tree
Showing 2 changed files with 1,364 additions and 20 deletions.
1,378 changes: 1,359 additions & 19 deletions docs/umap-for-tsne.html

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion docs/umap-for-tsne.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,11 @@ $$
where $a$ and $b$ are determined by a non-linear least squares fit based on the
`min_dist` and `spread` parameters that control the tightness of the squashing
function. By setting $a = 1$ and $b = 1$ you get t-SNE weighting back.
The current UMAP defaults result in $a = 1.929$ and $b = 0.7915$.
The current UMAP defaults result in $a = 1.929$ and $b = 0.7915$.
*April 7 2019*: Actually, I got this wrong. The UMAP defaults use
`min_dist = 0.1, spread = 1`, which results in $a = 1.577$ and $b = 0.8951$.
If you use `min_dist = 0.001, spread = 1` then you get the result for
$a = 1.929$ and $b = 0.7915$.

The attractive and repulsive UMAP gradient expressions are, respectively:

Expand Down

0 comments on commit ab4015e

Please sign in to comment.