You can use it like so
from countminsketch.countminsketch import CountMinSketch
d = 10
w = 100
cms = CountMinSketch(d=10, w=100)
cms.add('test_value')
print("Count of elements is:")
print(cms.query('test_value'))
-->
A blog about scientific computing with Python and Matlab. See the work of an engineer and data scientist in practice.
No comments:
Post a Comment