G
- a specific implementation type for GridSearch holding results of grid search (model list)S
- self typeMP
- actual model parameters typeP
- a specific model builder parameters schema, since we cannot derive it from Ppublic class GridSearchSchema<G extends Grid<MP>,S extends GridSearchSchema<G,S,MP,P>,MP extends Model.Parameters,P extends ModelParametersSchemaV3> extends SchemaV3<G,S>
TODO: this needs a V99 subclass for bindings generation.
SchemaV3.Meta
Schema.AutoParseable
Modifier and Type | Field and Description |
---|---|
KeyV3.GridKeyV3 |
grid_id |
IcedHashMap<java.lang.String,java.lang.Object[]> |
hyper_parameters |
JobV3 |
job |
P |
parameters |
HyperSpaceSearchCriteriaV99 |
search_criteria |
int |
total_models |
Constructor and Description |
---|
GridSearchSchema() |
Modifier and Type | Method and Description |
---|---|
S |
fillFromImpl(G impl)
Fill this Schema from the given implementation object.
|
S |
fillFromParms(java.util.Properties parms)
Fill this Schema object from a set of parameters.
|
createAndFillImpl, createImpl, extractVersionFromSchemaName, fillFromBody, fillFromImpl, fillFromImpl, 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="Basic model builder parameters.", direction=INPUT) public P extends ModelParametersSchemaV3 parameters
@API(help="Grid search parameters.", direction=INOUT) public IcedHashMap<java.lang.String,java.lang.Object[]> hyper_parameters
@API(help="Destination id for this grid; auto-generated if not specified.", direction=INOUT) public KeyV3.GridKeyV3 grid_id
@API(help="Hyperparameter search criteria, including strategy and early stopping directives. If it is not given, exhaustive Cartesian is used.", required=false, direction=INOUT) public HyperSpaceSearchCriteriaV99 search_criteria
@API(help="Number of all models generated by grid search.", direction=OUTPUT) public int total_models
public S fillFromParms(java.util.Properties parms)
Schema
fillFromParms
in class Schema<G extends Grid<MP>,S extends GridSearchSchema<G,S,MP,P>>
parms
- parameters - set of tuples (parameter name, parameter value)Schema.fillFromParms(Properties, boolean)