Find Probability of Match Based on Similarity
hamming_probability(distance, input_length, n_bands, band_width)
A decimal number giving the probability that the two items will be returned as a candidate pair from the lsh algotithm.
The hamming distance of the two strings you want to compare
the length (number of characters) of the input strings you want to calculate.
The number of LSH bands used in hashing.
The number of hashes in each band.