Reservoir Sampling Posted by timnic on Saturday July 06, 2013 @05:09AM from the jeremykun.com dept. http://jeremykun.com/2013/07/05/reservoir-sampling/ Python snippet to sample from a (finite) stream of unknown size at random. ( no comments | 2 points | on HN )
There are no comments yet.