Talk:Approximate counting algorithm
This is the talk page for discussing improvements to the Approximate counting algorithm article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
![]() | Articles for creation Start‑class ![]() | |||||||||
|
![]() | Computer science Start‑class | ||||||||||||||||
|
Coin tossing
Is it really necessary to toss the coin N times for a counter with value N on every event just to see if they're all heads? Couldn't we stop as soon as a tail is observed? -- Ralph Corderoy (talk) 08:28, 6 July 2011 (UTC)
Actually you don't need multiple tosses at all. Simply generate a random number and take it modulo 2^V, where V is the current value. If the modulo is 0, then increment the counter. --CAFxX (talk) 15:14, 4 January 2012 (UTC)
Recent developments
Developments like the HyperLogLog algorithm (see highscalability.com) should perhaps be included. — Preceding unsigned comment added by Herojoker (talk • contribs) 22:42, 26 August 2012 (UTC) http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinality-Estimation <= This is a great description of the algorithm — Preceding unsigned comment added by 173.252.71.4 (talk) 23:24, 22 January 2013 (UTC)