View source: R/lsh_properties.R
euclidean_probability | R Documentation |
Find Probability of Match Based on Similarity
euclidean_probability(distance, n_bands, band_width, r)
distance |
the euclidian distance between the two vectors you want to compare. |
n_bands |
The number of LSH bands used in hashing. |
band_width |
The number of hashes in each band. |
r |
the "r" hyperparameter used to govern the sensitivity of the hash. |
a decimal number giving the proability that the two items will be returned as a candidate pair from the minihash algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.