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 |
KeyV3.JobKeyV3 |
job_id |
int |
parallelism |
P |
parameters |
java.lang.String |
recovery_dir |
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, fillFromAny, 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, toJsonBytes, 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.", direction=INOUT) public HyperSpaceSearchCriteriaV99 search_criteria
@API(help="Level of parallelism during grid model building. 1 = sequential building (default). 0 for adaptive parallelism. Any number > 1 sets the exact number of models built in parallel.") public int parallelism
@API(help="Path to a directory where grid will save everything necessary to resume training after cluster crash.", direction=INPUT) public java.lang.String recovery_dir
@API(help="Key to use for the Job handling this GridSearch (internal use only).", direction=INPUT) public KeyV3.JobKeyV3 job_id
@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, Properties, boolean)