02Chapter 2: Why exact comparison does not scaleThis chapter assumes you know basic set operations (union and intersection), can read short Python programs, and have met Jaccard similarity in the previous chapter. You will see how the cost of comparing every pair of sets grows, and which parts of that cost MinHash is designed to remove.4 min read
03Chapter 3: Turning documents into sets with shinglingMinHash works on sets, but documents are sequences of words. This chapter shows how to turn a document into a set so that Jaccard similarity measures how much two documents overlap. It assumes you know set union and intersection, the Jaccard formula from earlier chapters, and short Python programs.4 min read
04Chapter 4: Hash functions as random orderingsThis chapter assumes you know what a hash function is, how to read short Python programs, and the basic idea of a random permutation (a shuffled list). The next chapter uses the idea developed here to define the MinHash value.4 min read
05Chapter 5: The MinHash value of a setThis chapter assumes you know union, intersection, and Jaccard similarity. It also assumes you know that a hash function maps an item to a number, and that you can read short Python programs. The previous chapter showed how a hash function gives every element a position in a random ordering. Here we3 min read
06Chapter 6: Why the match probability equals Jaccard similarityThis chapter assumes you know union, intersection, and the Jaccard similarity J(A, B) = |A ∩ B| / |A ∪ B|. It also assumes you know what an expected value is and what the previous chapter called the MinHash value of a set: the smallest element of the set under a random ordering. Here we prove the ce4 min read
07Chapter 7: Signatures and the similarity estimatorThis chapter assumes you know the MinHash value of a set (the smallest hash over its elements) and the earlier result that two sets have equal MinHash values with probability equal to their Jaccard similarity. You should also be comfortable reading short Python programs.4 min read
08Chapter 8: Implementing MinHash in PythonThis chapter turns the MinHash idea into working code. It assumes you can read short Python programs, know what a hash function is, and know that the chance two sets get the same MinHash value equals their Jaccard similarity. You will build the signature function and the estimator, then check the es3 min read
09Chapter 9: Estimator error and choosing the signature lengthThis chapter assumes you know how a MinHash signature is built and that the fraction of matching positions estimates Jaccard similarity. You should also know the variance of a coin flip. Here you will measure how far that estimate can be from the truth and pick the number of hash functions, k, to 3 min read
10Chapter 10: Finding similar pairs with LSH bandingThis chapter assumes you can compute a MinHash signature and estimate Jaccard similarity from two signatures, as covered earlier. You should also be comfortable with basic probability and short Python programs.3 min read
11Chapter 11: Limits and variants of MinHashThis chapter assumes you know how a MinHash signature is built, that the chance two signatures match at one position equals the Jaccard similarity, and that the estimator averages k such matches. It covers where that machinery stops working and which variants address each problem.3 min read