1

From this stackoverflow post

The main trick behind this algorithm is that if you, observing a stream of random integers, see an integer which binary representation starts with some known prefix, there is a higher chance that the cardinality of the stream is 2^(size of the prefix).

Hyperloglog uses hash to achieve randomness, but how does one prove that hashing a value give random output? Or even more strictly does hash guarantees pseudo random like uniform output?

If hash does not guarantee uniform output, is there a way we can upperbound and quantize the non-uniformity of a hash function?

asked Feb 20, 2019 at 19:38
1

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.