-
Notifications
You must be signed in to change notification settings - Fork 557
Typos, documentation and parameters #64
Comments
Simon - Thanks!
final int r = Long.numberOfLeadingZeros((hashedValue << this.log2m) | MA - this is a little bit tricky but the code is correct as it is TestLogLog uses 1.04 as error estimate parameter (beta), while other MA - 1.30 is correct for LogLog, HyperLogLog improved the value to 1.04. Furthermore, TestLogLog asserts the estimated value to be within 2 * MA - you are correct, it should not be using the 2x, however the tests HyperLogLog:94,106 mentions 1.106 vs 1.04, which is correct? (Googling MA - I am not sure. I cannot recall why I choose 1.106. All tests b_16=1.106, b_32=1.070, b_64=1.054, b_128=1.04, b_infinity=1.039 Do you have thoughts on what the correct value is? I think, at this CountThenEstimate:217 -- perhaps it should be LogLog(bytes) instead of MA - yes, good catch! Thanks, On Fri, Jan 31, 2014 at 9:20 AM, Simon Jonassen
|
Hi guys,
thanks for such a nice collection of algorithms, I've been playing a bit with and stumbled over a few things I would like to clarify:
Thanks and cheers,
Simon
The text was updated successfully, but these errors were encountered: