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

dbstream: fix adjacency matrix building #1340

Merged
merged 3 commits into from
Oct 15, 2023

Conversation

donny741
Copy link
Contributor

It is possible for the microcluster (mc) to be removed, but for the shared density graph entry (Sij) associated with that microcluster to remain because:

  • The threshold for removing Sij is α (a.k.a. intersection_factor) times lower than the threshold for removing a mc;
  • and no mechanism would ensure the removal of associated Sij when mc is removed.

This introduces a KeyError during the weighted_adjacency_matrix building step when looking up removed mc. Adding a try block to account for that

docs/releases/unreleased.md Outdated Show resolved Hide resolved
Co-authored-by: Max Halford <maxhalford25@gmail.com>
@MaxHalford MaxHalford merged commit 424cc38 into online-ml:main Oct 15, 2023
11 checks passed
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.

2 participants