public class ModelParametersSchema<P extends Model.Parameters,S extends ModelParametersSchema<P,S>> extends Schema<P,S>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
boolean |
ignore_const_cols |
java.lang.String[] |
ignored_columns |
KeyV3.ModelKeyV3 |
model_id |
static java.lang.String[] |
own_fields |
boolean |
score_each_iteration |
KeyV3.FrameKeyV3 |
training_frame |
KeyV3.FrameKeyV3 |
validation_frame |
__meta, _impl_class, _version_pattern, EXCLUDE_FIELDS, INCLUDE_FIELDS
Constructor and Description |
---|
ModelParametersSchema() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String[] |
append_field_arrays(java.lang.String[] first,
java.lang.String[] second) |
java.lang.String[] |
fields() |
S |
fillFromImpl(P impl)
Version and Schema-specific filling from the implementation object.
|
P |
fillImpl(P impl)
Fill an impl object and any children from this schema and its children.
|
static AutoBuffer |
writeParametersJSON(AutoBuffer ab,
ModelParametersSchema parameters,
ModelParametersSchema default_parameters)
Write the parameters, including their metadata, into an AutoBuffer.
|
acceptsFrame, createAndFillImpl, createImpl, extractVersion, fillFromParms, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, markdown, newInstance, register, registerAllSchemasIfNecessary, schema, schema, schema, schema, schema, schemaClass, schemaClass, schemaClass, schemaClass, schemas
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSON
public static java.lang.String[] own_fields
@API(help="Destination id for this model; auto-generated if not specified", required=false, direction=INOUT) public KeyV3.ModelKeyV3 model_id
@API(help="Training frame", direction=INOUT) public KeyV3.FrameKeyV3 training_frame
@API(help="Validation frame", direction=INOUT) public KeyV3.FrameKeyV3 validation_frame
@API(help="Ignored columns", is_member_of_frames={"training_frame","validation_frame"}, direction=INOUT) public java.lang.String[] ignored_columns
@API(help="Ignore constant columns", direction=INOUT) public boolean ignore_const_cols
public java.lang.String[] fields()
protected static java.lang.String[] append_field_arrays(java.lang.String[] first, java.lang.String[] second)
public S fillFromImpl(P impl)
Schema
fillFromImpl
in class Schema<P extends Model.Parameters,S extends ModelParametersSchema<P,S>>
public P fillImpl(P impl)
Schema
fillImpl
in class Schema<P extends Model.Parameters,S extends ModelParametersSchema<P,S>>
public static final AutoBuffer writeParametersJSON(AutoBuffer ab, ModelParametersSchema parameters, ModelParametersSchema default_parameters)