Theory of Locality Sensitive Hashing - SNAP - Stanford University
Theory of Locality Sensitive Hashing - SNAP - Stanford University
Theory of Locality Sensitive Hashing - SNAP - Stanford University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Suppose we have a space S <strong>of</strong> points with<br />
a distance measure d<br />
A family H <strong>of</strong> hash functions is said to be<br />
(d 1,d 2,p 1,p 2)-sensitive if for any x and y in S :<br />
1. If d(x,y) < d 1, then the probability over all h ∈ H,<br />
that h(x) = h(y) is at least p 1<br />
2. If d(x,y) > d 2, then the probability over all h ∈ H,<br />
that h(x) = h(y) is at most p 2<br />
1/19/2011 Jure Leskovec, <strong>Stanford</strong> C246: Mining Massive Datasets<br />
14