Video 56 of a series explaining the basic concepts of Data Structures and Algorithms. This video explains the working of Bloom Filters. This video is meant for educational purposes only.
Found this nice explanation of why this is needed: A bloom filter doesn't store the elements themselves, this is the crucial point. You don't use a bloom filter to test if an element is present, you use it to test whether it's certainly not present, since it guarantees no false negatives. This lets you not do extra work for elements that don't exist in a set (such as disk IO to look them up).
thanks for giving example I have an exam in 30 minutes and I watched the video it is very helpful I could not understand the concept before but now I am clear.
Good handwriting! Also well explained, and a good format. Ideas for a part 2: 1) How to decide how many hash functions to use? 2) Best way to generate the hash functions? 3) Explanation of when this is better than a HashMap. Enjoyed the video, thank you.
Extremely well explained! Thank you very much for sharing it. Could you please me know how I could define my hash functions or doesn't matter? I mean. you use #func1 = x mod 5 and #func2 = (2x +3) mod 5. But could I change it?
Your explanation is cool... How can we be sure that probability of the false positive is less than other (not present scenario) any mathematical proof available ?
Thanks for the amazing explanation! A few questions Does M - determine the length of a string? For the sake of understanding, if my M is equal to 6, does that mean I have 6 bits? How do I know how many filters I need as a minimum and how many I can put as a maximum Thanks!