/CountMinSketch

A pure-Python count-min sketch, fast and accurate.

Primary LanguagePythonApache License 2.0Apache-2.0

#CountMinSketch

This is a pure-Python count-min sketch. It's pretty fast and accurate. Try it out!

##Usage

>>> cms = CountMinSketch(200, 500)
>>> cms['foo']
0
>>> cms['foo'] += 5
>>> cms['foo']
5