A fast and accurate Count-Min Sketch data structure.
Project description
#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
```
==============
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
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
count_min_sketch-3.0.4.tar.gz
(2.7 kB
view hashes)