public class ModelSchemaV3<M extends Model<M,P,O>,S extends ModelSchemaV3<M,S,P,PS,O,OS>,P extends Model.Parameters,PS extends ModelParametersSchemaV3<P,PS>,O extends Model.Output,OS extends ModelOutputSchemaV3<O,OS>> extends ModelSchemaBaseV3<M,S>
SchemaV3.Meta
Schema.AutoParseable
Modifier and Type | Field and Description |
---|---|
protected long |
checksum |
java.lang.String[] |
compatible_frames |
OS |
output |
PS |
parameters |
algo, algo_full_name, data_frame, have_mojo, have_pojo, model_id, response_column_name, timestamp
Constructor and Description |
---|
ModelSchemaV3() |
ModelSchemaV3(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, extractVersionFromSchemaName, fillFromBody, fillFromImpl, fillFromImpl, fillFromParms, fillFromParms, fillImpl, fillImpl, getImplClass, getImplClass, getSchemaName, getSchemaType, getSchemaVersion, init_meta, markdown, markdown, newInstance, newInstance, setField, setSchemaType_doNotCall
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal
@API(help="The build parameters for the model (e.g. K for KMeans).", direction=OUTPUT) public PS extends ModelParametersSchemaV3<P,PS> parameters
@API(help="The build output for the model (e.g. the cluster centers for KMeans).", direction=OUTPUT) public OS extends ModelOutputSchemaV3<O,OS> output
@API(help="Compatible frames, if requested", direction=OUTPUT) public java.lang.String[] compatible_frames
public ModelSchemaV3()
public ModelSchemaV3(M m)
public PS createParametersSchema()
public OS createOutputSchema()
public S fillFromImpl(M m)
Schema
public final AutoBuffer writeJSON_impl(AutoBuffer ab)