Skip to content

Commit

Permalink
Fix as per jlmellville
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Sep 9, 2019
1 parent bc6106c commit 679527c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pynndescent/pynndescent_.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ def nn_descent_internal_high_memory(
data,
n_neighbors,
rng_state,
tried,
max_candidates=50,
dist=dist.euclidean,
dist_args=(),
n_iters=10,
delta=0.001,
rho=0.5,
tried=set([(-1, -1)]),
verbose=False,
seed_per_row=False,
):
Expand Down Expand Up @@ -338,13 +338,13 @@ def nn_descent(
data,
n_neighbors,
rng_state,
tried,
max_candidates=max_candidates,
dist=dist,
dist_args=dist_args,
n_iters=n_iters,
delta=delta,
rho=rho,
tried=tried,
verbose=verbose,
seed_per_row=seed_per_row,
)
Expand Down
4 changes: 2 additions & 2 deletions pynndescent/sparse_nndescent.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ def sparse_nn_descent_internal_high_memory(
n_vertices,
n_neighbors,
rng_state,
tried,
max_candidates=50,
sparse_dist=sparse_euclidean,
dist_args=(),
n_iters=10,
delta=0.001,
rho=0.5,
tried=set([(-1, -1)]),
verbose=False,
):
for n in range(n_iters):
Expand Down Expand Up @@ -289,13 +289,13 @@ def sparse_nn_descent(
n_vertices,
n_neighbors,
rng_state,
tried,
max_candidates=max_candidates,
sparse_dist=sparse_dist,
dist_args=dist_args,
n_iters=n_iters,
delta=delta,
rho=rho,
tried=tried,
verbose=verbose,
)

Expand Down

0 comments on commit 679527c

Please sign in to comment.