public class GridSchemaV99 extends SchemaV3<Grid,GridSchemaV99>
SchemaV3.Meta
Schema.AutoParseable
Modifier and Type | Field and Description |
---|---|
ModelMetricsBaseV3[] |
cross_validation_metrics |
TwoDimTableV3[] |
cross_validation_metrics_summary |
boolean |
decreasing |
java.lang.String |
export_checkpoints_dir |
ModelParametersSchemaV3[] |
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 |
java.lang.String |
sort_by |
ModelMetricsBaseV3[] |
training_metrics |
ModelMetricsBaseV3[] |
validation_metrics |
java.lang.String[] |
warning_details |
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, extractVersionFromSchemaName, fillFromAny, fillFromBody, fillFromImpl, fillFromImpl, fillFromParms, 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="Grid id") public KeyV3.GridKeyV3 grid_id
@API(help="Model performance metric to sort by. Examples: logloss, residual_deviance, mse, rmse, mae,rmsle, auc, r2, f1, recall, precision, accuracy, mcc, err, err_count, lift_top_group, max_per_class_error", required=false, direction=INOUT) public java.lang.String sort_by
@API(help="Specify whether sort order should be decreasing.", required=false, direction=INOUT) public boolean decreasing
@API(help="Model IDs built 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 ModelParametersSchemaV3[] failed_params
@API(help="List of detailed warning messages", direction=OUTPUT) public java.lang.String[] warning_details
@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
@API(help="List of raw parameters causing model building failure", direction=OUTPUT) public java.lang.String[][] failed_raw_params
@API(help="Training model metrics for the returned models; only returned if sort_by is set", direction=OUTPUT) public ModelMetricsBaseV3[] training_metrics
@API(help="Validation model metrics for the returned models; only returned if sort_by is set", direction=OUTPUT) public ModelMetricsBaseV3[] validation_metrics
@API(help="Cross validation model metrics for the returned models; only returned if sort_by is set", direction=OUTPUT) public ModelMetricsBaseV3[] cross_validation_metrics
@API(help="Cross validation model metrics summary for the returned models; only returned if sort_by is set", direction=OUTPUT) public TwoDimTableV3[] cross_validation_metrics_summary
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>