Re:Algorithms Every Programmer Should Know: Reservoir Sampling
by shoegumfoot on Sunday March 08, 2015 @02:52PM
(#9166654)
> Can you show that [generating a number of records to skip instead of a yes/no for each record] will still maintain a uniform probability distribution?
That should work if you pull the skip count from the appropriate distribution (negative binomial, I think).
That should work if you pull the skip count from the appropriate distribution (negative binomial, I think).