powered by
Plot S-Curve for a LSH with given hyperparameters
jaccard_curve(n_bands, band_width)
A plot showing the probability a pair is proposed as a match, given the Jaccard similarity of the two items.
The number of LSH bands calculated
The number of hashes in each band
# Plot the probability two pairs will be matched as a function of their # jaccard similarity, given the hyperparameters n_bands and band_width. jaccard_curve(40, 6)
Run the code above in your browser using DataLab