Showing posts with label reservoir sampling. Show all posts
Showing posts with label reservoir sampling. Show all posts

Monday, August 5, 2013

Reservoir Sampling in MapReduce

468 comments
[Image source]
We consider the problem of picking a random sample of a given size k from a large dataset of some unknown size n. The hidden assumption here is that n is large enough that the whole dataset does not fit into main memory, whereas the desired sample does.

Read More...