public class GridSchemaV99 extends Schema<Grid,GridSchemaV99>
Schema.Meta
Modifier and Type | Field and Description |
---|---|
ModelParametersSchema[] |
failed_params |
java.lang.String[][] |
failed_raw_params |
java.lang.String[] |
failure_details |
java.lang.String[] |
failure_stack_traces |
KeyV3.GridKeyV3 |
grid_id |
java.lang.String[] |
hyper_names |
KeyV3.ModelKeyV3[] |
model_ids |
Constructor and Description |
---|
GridSchemaV99() |
Modifier and Type | Method and Description |
---|---|
Grid |
createImpl()
Create an appropriate implementation object and any child objects but does not fill them.
|
GridSchemaV99 |
fillFromImpl(Grid grid)
Fill this Schema from the given implementation object.
|
createAndFillImpl, 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_impl, writeJSON
@API(help="Grid id") public KeyV3.GridKeyV3 grid_id
@API(help="Model IDs build by a grid search") public KeyV3.ModelKeyV3[] model_ids
@API(help="Used hyper parameters.", direction=OUTPUT) public java.lang.String[] hyper_names
@API(help="List of failed parameters", direction=OUTPUT) public ModelParametersSchema[] failed_params
@API(help="List of detailed failure messages", direction=OUTPUT) public java.lang.String[] failure_details
@API(help="List of detailed failure stack traces", direction=OUTPUT) public java.lang.String[] failure_stack_traces
public Grid createImpl()
Schema
For objects without children this method does all the required work. For objects with children the subclass will need to override, e.g. by calling super.createImpl() and then calling createImpl() on its children.
Note that impl objects for schemas which override this method don't need to have a default constructor (e.g., a Keyed object constructor can still create and set the Key), but they must not fill any fields which can be filled later from the schema.
TODO: We could handle the common case of children with the same field names here by finding all of our fields that are themselves Schemas.
createImpl
in class Schema<Grid,GridSchemaV99>
public GridSchemaV99 fillFromImpl(Grid grid)
Schema
fillFromImpl
in class Schema<Grid,GridSchemaV99>