| Modifier and Type | Field and Description |
|---|---|
Frame |
_adaptedFrame |
int[] |
_catOffsets |
int |
_cats |
int |
_foldId |
int |
_nfolds |
double[] |
_normMul |
double[] |
_normRespMul |
double[] |
_normRespSub |
double[] |
_normSub |
int |
_nums |
int |
_responses |
boolean |
_standardize |
boolean |
_standardize_response |
| Constructor and Description |
|---|
FrameTask.DataInfo(Frame fr,
int nResponses,
boolean standardize) |
FrameTask.DataInfo(Frame fr,
int nResponses,
boolean standardize,
boolean standardize_response) |
FrameTask.DataInfo(Frame fr,
int hasResponses,
double[] normSub,
double[] normMul) |
FrameTask.DataInfo(Frame fr,
int hasResponses,
double[] normSub,
double[] normMul,
double[] normRespSub,
double[] normRespMul) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
coefNames() |
int |
fullN() |
FrameTask.DataInfo |
getFold(int foldId,
int nfolds) |
int |
largestCat() |
int |
numStart() |
static Frame |
prepareFrame(Frame source,
Vec response,
int[] ignored_cols,
boolean toEnum,
boolean dropConstantCols)
Prepare a Frame (with a single response) to be processed by the FrameTask
1) Place response at the end
2) (Optionally) Remove columns with constant values or with >20% NaNs
3) Possibly turn integer categoricals into enums
|
java.lang.String |
toString() |
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic Frame _adaptedFrame
public final int _responses
public final boolean _standardize
public final boolean _standardize_response
public final int _nums
public final int _cats
public final int[] _catOffsets
public final double[] _normMul
public final double[] _normSub
public final double[] _normRespMul
public final double[] _normRespSub
public final int _foldId
public final int _nfolds
public FrameTask.DataInfo(Frame fr, int hasResponses, double[] normSub, double[] normMul)
public FrameTask.DataInfo(Frame fr, int hasResponses, double[] normSub, double[] normMul, double[] normRespSub, double[] normRespMul)
public FrameTask.DataInfo(Frame fr, int nResponses, boolean standardize)
public FrameTask.DataInfo(Frame fr, int nResponses, boolean standardize, boolean standardize_response)
public static Frame prepareFrame(Frame source, Vec response, int[] ignored_cols, boolean toEnum, boolean dropConstantCols)
source - A frame to be expanded and sanity checkedresponse - (should be part of source)toEnum - Whether or not to turn categoricals into enumsdropConstantCols - Whether or not to drop constant columnspublic java.lang.String toString()
toString in class java.lang.Objectpublic FrameTask.DataInfo getFold(int foldId, int nfolds)
public final int fullN()
public final int largestCat()
public final int numStart()
public final java.lang.String[] coefNames()