Skip to content

Utkarshn10/bloom-filter

Repository files navigation

bloom-filter

A mini bloom filter

How it works?

Bloom Filter is a space-efficient probabilistic data structure that works on the notion of False Positive i.e if a value doesn't exist then they may say it exists but if it doesn't then they will surely say that it doesn't exist.

Trade of

It takes less memory in return for less accuracy

How to run the bloom filter

1. Clone the repository
2. Install requirements
3. Run python bloom-filter.py

Output

If the element or word in our case doesn't exist (Zebra doesn't exist in the words2.txt):

image

If it does (maybe):

image

About

A mini bloom filter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages