public class ModelSchema<M extends Model<M,P,O>,S extends ModelSchema<M,S,P,PS,O,OS>,P extends Model.Parameters,PS extends ModelParametersSchema<P,PS>,O extends Model.Output,OS extends ModelOutputSchema<O,OS>> extends ModelSchemaBase<M,S>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
protected long |
checksum |
OS |
output |
PS |
parameters |
algo, algo_full_name, data_frame, model_id, response_column_name, timestamp
Constructor and Description |
---|
ModelSchema() |
ModelSchema(M m) |
Modifier and Type | Method and Description |
---|---|
OS |
createOutputSchema()
Factory method to create the model-specific output schema.
|
PS |
createParametersSchema()
Factory method to create the model-specific parameters schema.
|
S |
fillFromImpl(M m)
Fill this Schema from the given implementation object.
|
AutoBuffer |
writeJSON_impl(AutoBuffer ab) |
createAndFillImpl, createImpl, fillFromParms, fillFromParms, fillImpl, get__meta, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, init_meta, markdown, markdown, newInstance, newInstance, registerAllSchemasIfNecessary, schema, schema, schemaClass, schemaClass, schemas, setField
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
@API(help="The build parameters for the model (e.g. K for KMeans).", direction=OUTPUT) public PS extends ModelParametersSchema<P,PS> parameters
@API(help="The build output for the model (e.g. the cluster centers for KMeans).", direction=OUTPUT) public OS extends ModelOutputSchema<O,OS> output
public ModelSchema()
public ModelSchema(M m)
public PS createParametersSchema()
public OS createOutputSchema()
public S fillFromImpl(M m)
Schema
public final AutoBuffer writeJSON_impl(AutoBuffer ab)