[ https://issues.apache.org/jira/browse/MAHOUT-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786806#action_12786806 ]
Sean Owen commented on MAHOUT-212: ---------------------------------- This kinda already existed as SamplingIterator -- does that do the same thing? could these be merged then, pulling the class into a common location and combining aspects of both? > Need random sampler for use in reducers > --------------------------------------- > > Key: MAHOUT-212 > URL: https://issues.apache.org/jira/browse/MAHOUT-212 > Project: Mahout > Issue Type: Bug > Components: Utils > Affects Versions: 0.2 > Reporter: Ted Dunning > Assignee: Sean Owen > Fix For: 0.3 > > Attachments: MAHOUT-212.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.