Description
For a variety of mining algorithms, it helps to have a uniform way to only process a sub-set of the records in a reducer.
As such, I have written a simple generic sampler that filters an Iterator returning a fair sample of at most a specified size.