Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor prune_local #37

Open
wants to merge 106 commits into
base: master
Choose a base branch
from
Open

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