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

Space Saving, HyperLogLog and Hierarchical Heavy Hitters algorithms #1559

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Remove return stmt
  • Loading branch information
laraabastoss committed Jun 21, 2024
commit ff6621632f190dae968edda377671f0b4fe0901d
2 changes: 1 addition & 1 deletion river/sketch/hyper_log_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def update(self, x: typing.Hashable):
j = hash_val & (self.m - 1)
w = hash_val >> self.b
self.registers[j] = max(self.registers[j], self.left_most_one(w))
return None


def count(self) -> int:
"""
Expand Down
Loading