public abstract static class Model.Parameters extends Iced
The non-transient fields are input parameters to the model-building process, and are considered "first class citizens" by the front-end - the front-end will cache Parameters (in the browser, in JavaScript, on disk) and rebuild Parameter instances from those caches.
Modifier and Type | Field and Description |
---|---|
boolean |
_balance_classes
Should all classes be over/under-sampled to balance the class
distribution?
|
float[] |
_class_sampling_factors
Desired over/under-sampling ratios per class (lexicographic order).
|
boolean |
_ignore_const_cols |
java.lang.String[] |
_ignored_columns |
float |
_max_after_balance_size
When classes are being balanced, limit the resulting dataset size to
the specified multiple of the original dataset size.
|
int |
_max_confusion_matrix_size
For classification models, the maximum size (in terms of classes) of
the confusion matrix for it to be printed.
|
int |
_max_hit_ratio_k
The maximum number (top K) of predictions to use for hit ratio
computation (for multi-class only, 0 to disable)
|
Key<Frame> |
_model_id |
java.lang.String |
_offset_column |
java.lang.String |
_response_column
Supervised models have an expected response they get to train with!
|
boolean |
_score_each_iteration |
Key<Frame> |
_train |
Key<Frame> |
_valid |
java.lang.String |
_weights_column |
Constructor and Description |
---|
Model.Parameters() |
Modifier and Type | Method and Description |
---|---|
protected long |
checksum_impl()
Compute a checksum based on all non-transient non-static ice-able assignable fields (incl.
|
protected boolean |
defaultDropConsCols() |
protected boolean |
defaultDropNA20Cols() |
double |
missingColumnsType()
Type of missing columns during adaptation between train/test datasets
Overload this method for models that have sparse data handling - a zero
will preserve the sparseness.
|
void |
read_lock_frames(Job job)
Read-Lock both training and validation User frames.
|
void |
read_unlock_frames(Job job)
Read-UnLock both training and validation User frames.
|
Frame |
train() |
Frame |
valid() |
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSON
public java.lang.String[] _ignored_columns
public boolean _ignore_const_cols
public java.lang.String _weights_column
public java.lang.String _offset_column
public boolean _score_each_iteration
public java.lang.String _response_column
public boolean _balance_classes
public float _max_after_balance_size
public float[] _class_sampling_factors
public int _max_hit_ratio_k
public int _max_confusion_matrix_size
public final Frame train()
public final Frame valid()
public void read_lock_frames(Job job)
public void read_unlock_frames(Job job)
protected boolean defaultDropNA20Cols()
protected boolean defaultDropConsCols()
public double missingColumnsType()
protected long checksum_impl()