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)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
createAndFillImpl, createImpl, fillFromParms, fillFromParms, fillImpl, get__meta, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, newInstance, newInstance, registerAllSchemasIfNecessary, schema, schema, schemaClass, schemas, setField
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, 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 AutoBuffer writeJSON_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeJSON_impl
in interface Freezable
writeJSON_impl
in class Iced
ab
- AutoBuffer
to write this object to.AutoBuffer
for flow-coding.