semvec/pypi-packages huggingface dataset:
count_min_sketch 3.0.4
A fast and accurate Count-Min Sketch data structure.
License: Apache 2.0
Keywords: count,min,sketch,fast,pure

#CountMinSketch
==============

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

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