View source: R/lsh_properties.R
jaccard_curve | R Documentation |
Plot S-Curve for a LSH with given hyperparameters
jaccard_curve(n_bands, band_width)
n_bands |
The number of LSH bands calculated |
band_width |
The number of hashes in each band |
A plot showing the probability a pair is proposed as a match, given the Jaccard similarity of the two items.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.