Skip to content

Commit

Permalink
Merge pull request #644 from gclen/issue-640
Browse files Browse the repository at this point in the history
Change low_memory default in docstrings
  • Loading branch information
lmcinnes committed Apr 12, 2021
2 parents ae5255b + 9c4d8e0 commit 5f68023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umap/umap_.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def nearest_neighbors(
random_state: np.random state
The random state to use for approximate NN computations.
low_memory: bool (optional, default False)
low_memory: bool (optional, default True)
Whether to pursue lower memory NNdescent.
verbose: bool (optional, default False)
Expand Down Expand Up @@ -1438,7 +1438,7 @@ class UMAP(BaseEstimator):
The effective scale of embedded points. In combination with ``min_dist``
this determines how clustered/clumped the embedded points are.
low_memory: bool (optional, default False)
low_memory: bool (optional, default True)
For some datasets the nearest neighbor computation can consume a lot of
memory. If you find that UMAP is failing due to memory constraints
consider setting this option to True. This approach is more
Expand Down

0 comments on commit 5f68023

Please sign in to comment.