java-LSH
java-LSH copied to clipboard
Correct signature size calculation
According to the description in this file, signature size equals to R * b instead of R * s
Hi, I should check this very carefully, because I don't use the same notation as in the book:
- the book calls bands (b) what I in the code call stages (s)
- in the code b stands for buckets (per stage)
Hi, I checked again based on your comment. It looks like my correction is wrong. Inside the computeSignatureSize
function, r
is the number of rows and s
is the number of bands, so the signature size should be r * s
. Please confirm! (The notations in the comments above the function are a little bit confusing, you might want to change that.)
By the way, the parameter n
passed to computeSignatureSize
is not used. Is this for consistency?
I also had a question about the parameter n
not being used in computeSignatureSize
.
@tdebatty, could you comment on this please? Thank you, in advance.