public abstract class ModelSchema<M extends Model,P extends Model.Parameters,O extends Model.Output,S extends ModelSchema<M,P,O,S>> extends Schema<M,S>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algo |
protected long |
checksum |
protected Key |
key |
protected ModelOutputSchema |
output |
protected ModelParametersSchema |
parameters |
_version_pattern, schema_name, schema_type, schema_version| Constructor and Description |
|---|
ModelSchema() |
ModelSchema(M m) |
| Modifier and Type | Method and Description |
|---|---|
abstract ModelOutputSchema |
createOutputSchema()
Factory method to create the model-specific output schema.
|
abstract ModelParametersSchema |
createParametersSchema()
Factory method to create the model-specific parameters schema.
|
S |
fillFromImpl(M m)
Version and Schema-specific filling from the implementation object.
|
AutoBuffer |
writeJSON_impl(AutoBuffer ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
acceptsFrame, createAndFillImpl, createImpl, extractVersion, fillFromParms, fillImpl, getImplClass, getImplClass, markdown, markdown, registerclone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON@API(help="The build parameters for the model (e.g. K for KMeans).", direction=OUTPUT) protected ModelParametersSchema parameters
@API(help="The build output for the model (e.g. the clusters for KMeans).", direction=OUTPUT) protected ModelOutputSchema output
public ModelSchema()
public ModelSchema(M m)
public abstract ModelParametersSchema createParametersSchema()
public abstract ModelOutputSchema createOutputSchema()
public S fillFromImpl(M m)
SchemafillFromImpl in class Schema<M extends Model,S extends ModelSchema<M,P,O,S>>public AutoBuffer writeJSON_impl(AutoBuffer ab)
IcedIced 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 FreezablewriteJSON_impl in class Icedab - AutoBuffer to write this object to.AutoBuffer for flow-coding.