Skip to content

Commit

Permalink
make nicer docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Intron7 committed May 17, 2024
1 parent 30b5f5a commit b1b0746
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/rapids_singlecell/tools/_umap.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ def umap(
init_pos
How to initialize the low dimensional embedding. Called `init` in the
original UMAP. Options are:
* 'auto': chooses 'spectral' for `'n_samples' < 1000000`, 'random' otherwise.
* 'spectral': use a spectral embedding of the graph.
* 'random': assign initial embedding positions at random.
* 'auto': chooses 'spectral' for `'n_samples' < 1000000`, 'random' otherwise.
* 'spectral': use a spectral embedding of the graph.
* 'random': assign initial embedding positions at random.
.. note::
If your embedding looks odd it's recommended setting `init_pos` to 'random'.
s
random_state
`int`, `random_state` is the seed used by the random number generator
a
Expand Down

0 comments on commit b1b0746

Please sign in to comment.