public class MRUtils
extends java.lang.Object
Constructor and Description |
---|
MRUtils() |
Modifier and Type | Method and Description |
---|---|
static Frame |
sampleFrame(Frame fr,
long rows,
long seed)
Sample rows from a frame.
|
static Frame |
shuffleFramePerChunk(Frame fr,
long seed)
Row-wise shuffle of a frame (only shuffles rows inside of each chunk)
|
public static Frame sampleFrame(Frame fr, long rows, long seed)
fr
- Input framerows
- Approximate number of rows to sample (across all chunks)seed
- Seed for RNG