Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

sketches-intro

Python Jupyter License

Introductory Jupyter notebook on probabilistic data structures applied to network traffic analysis.

Structures covered

  • Bitmap — exact membership for small universes
  • Bloom Filter — approximate membership with controlled false positive rate
  • Count-Min Sketch — approximate frequency counting for data streams

Dataset

Synthetic stream of 1,000,000 packets with Zipf-distributed destination IPs (α=1.3), replicating real backbone traffic behavior.

Requirements

pip install numpy matplotlib jupyter

Usage

jupyter notebook sketches-intro.ipynb

References

  • Bloom, B. H. (1970). Space/time trade-offs in hash coding with allowable errors. Communications of the ACM.
  • Cormode, G., & Muthukrishnan, S. (2005). An improved data stream summary: the count-min sketch. Journal of Algorithms.

Departamento de Informática — Universidade Federal do Espírito Santo (Ufes)

About

Introductory Jupyter notebook on probabilistic data structures (Bitmap, Bloom Filter, Count-Min Sketch) applied to network traffic analysis, with synthetic Zipf-distributed packet streams.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages