public class SplitFrame extends Transformer<SplitFrame.Frames>
Modifier and Type | Class and Description |
---|---|
static class |
SplitFrame.Frames |
Modifier and Type | Field and Description |
---|---|
Frame |
_dataset
Input dataset to split
|
Key<Frame>[] |
_destination_frames
Output destination keys.
|
double[] |
_ratios
Split ratios
|
_job
Constructor and Description |
---|
SplitFrame() |
SplitFrame(Frame dataset,
double... ratios) |
SplitFrame(Frame dataset,
double[] ratios,
Key<Frame>[] destination_frames) |
Modifier and Type | Method and Description |
---|---|
Job<SplitFrame.Frames> |
execImpl()
Implementation endpoint for transformations.
|
static Frame[] |
splitFrame(Frame fr,
double... ratios) |
exec
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public Frame _dataset
public double[] _ratios
public SplitFrame(Frame dataset, double... ratios)
public SplitFrame()
public Job<SplitFrame.Frames> execImpl()
Transformer
execImpl
in class Transformer<SplitFrame.Frames>