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 KNN graph handling and outlier detection in issue managers #1155

Merged
merged 14 commits into from
Jun 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused needs_recompute variable for provided knn_graph
  • Loading branch information
elisno committed Jun 24, 2024
commit 3f487f12405a942f3468ce09a65350113661fe5b
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def _process_knn_graph_from_inputs(
knn_graph: Optional[csr_matrix] = None
if provided_knn_graph is not None:
knn_graph = provided_knn_graph
needs_recompute = False
elif existing_knn_graph is not None:
knn_graph = existing_knn_graph
num_neighbors = num_neighbors_in_knn_graph(knn_graph) if knn_graph is not None else -1
Expand Down