public class SplitFrame extends hex.ModelBuilder<SplitFrameModel,SplitFrameModel.SplitFrameParameters,SplitFrameModel.SplitFrameOutput>
The task creates ratios.length+1 output frame each containing a
demanded fraction of rows from source dataset
The tasks internally extract data from source chunks and create output chunks in preserving order of parts. I.e., the 1st partition contains the first P1-rows, the 2nd partition contains following P2-rows, ...
Assumptions and invariants
NOTE: the implementation is data-transfer expensive and in some cases it would be beneficial to use original implementation from 9af3f4e.
.| Constructor and Description |
|---|
SplitFrame(SplitFrameModel.SplitFrameParameters parms) |
| Modifier and Type | Method and Description |
|---|---|
hex.Model.ModelCategory[] |
can_build() |
void |
init(boolean expensive)
Initialize the ModelBuilder, validating all arguments and preparing the
training frame.
|
hex.schemas.ModelBuilderSchema |
schema() |
SplitFrame |
trainModel() |
clearInitState, createModelBuilder, error_count, error, getAlgo, getModelBuilder, getModelBuilderName, getModelBuilders, getModelClass, hide, info, registerModelBuilder, train, valid, validationErrors, warncancel, cancel, cancel2, checksum_impl, dest, done, get, isCancelledOrCrashed, isDone, isRunning, isRunning, isStopped, jobs, msec, onCancelled, progress, remove_impl, start, update, updatepublic SplitFrame(SplitFrameModel.SplitFrameParameters parms)
public hex.schemas.ModelBuilderSchema schema()
schema in class hex.ModelBuilder<SplitFrameModel,SplitFrameModel.SplitFrameParameters,SplitFrameModel.SplitFrameOutput>public SplitFrame trainModel()
trainModel in class hex.ModelBuilder<SplitFrameModel,SplitFrameModel.SplitFrameParameters,SplitFrameModel.SplitFrameOutput>public hex.Model.ModelCategory[] can_build()
can_build in class hex.ModelBuilder<SplitFrameModel,SplitFrameModel.SplitFrameParameters,SplitFrameModel.SplitFrameOutput>public void init(boolean expensive)
init in class hex.ModelBuilder<SplitFrameModel,SplitFrameModel.SplitFrameParameters,SplitFrameModel.SplitFrameOutput>