-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct signature size calculation #14
base: master
Are you sure you want to change the base?
Conversation
According to the description in this file, signature size equals to R * b instead of R * n
@@ -66,7 +66,7 @@ public LSHMinHash(final int s, final int b, final int n) { | |||
*/ | |||
public LSHMinHash(final int s, final int b, final int n, final long seed) { | |||
super(s, b); | |||
int signature_size = computeSignatureSize(s, n); | |||
int signature_size = computeSignatureSize(s, b); | |||
this.mh = new MinHash(signature_size, n, seed); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter should be changed to b
as well.
Hi,
|
Hi, I checked again based on your comment. It looks like my correction is wrong. Inside the By the way, the parameter |
I also had a question about the parameter @tdebatty, could you comment on this please? Thank you, in advance. |
According to the description in this file, signature size equals to R * b instead of R * s