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 (related to issue #1324) #1336

Merged
merged 4 commits into from
Oct 9, 2023
Merged

DBSTREAM fix (related to issue #1324) #1336

merged 4 commits into from
Oct 9, 2023

Conversation

hoanganhngo610
Copy link
Contributor

This PR fixes multiple issues proposed in issue #1324 by @donny741, with the following changes:

  • Addition of the - sign before the fading_factor in accordance with the algorithm 2 proposed by Hashler and Bolanos to allow clusters with low weights to be removed.
  • The new micro_cluster is added with the key derived from the maximum key of the existing micro clusters. If the set of micro clusters is still empty (len = 0), a new micro cluster is added with key 0.
  • cluster_is_up_to_date is set to True at the end of the self._recluster() function.

… 2 of the paper by Hashler and Bolanos to allow clusters with low weight removed.
…icro clusters, or indexed as 0 if the list of micro clusters is still empty.
@MaxHalford
Copy link
Member

Good job @hoanganhngo610. Can you add the relevant entries to UNRELEASED.md?

@hoanganhngo610
Copy link
Contributor Author

@MaxHalford Thank you so much Max! Will do!

@hoanganhngo610
Copy link
Contributor Author

@MaxHalford UNRELEASED.md entries added!

@MaxHalford MaxHalford merged commit f27e7cb into main Oct 9, 2023
11 checks passed
@MaxHalford MaxHalford deleted the dbstream-fix-pr1324 branch October 9, 2023 14:13
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