Skip to content

Refactor prune_local#37

Open
ahill187 wants to merge 106 commits intoShobiStassen:masterfrom
ahill187:prune-local
Open

Refactor prune_local#37
ahill187 wants to merge 106 commits intoShobiStassen:masterfrom
ahill187:prune-local

Conversation

@ahill187
Copy link
Contributor

Description

In this PR:

  1. Renamed make_csrmatrix_noselfloop -> prune_local
  2. Renamed keep_all_local_dist -> do_prune_local, with the opposite meaning, i.e. do_prune_local = True is the same as keep_all_local_dist = False
  3. Added docstrings
  4. Added l2_std_factor as argument
  5. Removed unused discard_count
  6. Added tests for prune_local
  7. Renamed the following variables:
original new
distlist distances
row neighbors
updated_nn_ind updated_neighbors
updated_nn_weights updated_distances
ik index
rowi community_id
csr_graph csr_array
dist distance
keep_all_local_dist do_prune_local (opposite)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant