G - Implementation output of grid searchMP - Type of model parametersP - Type of schema representing model parametersS - Schema representing structure of grid search end-pointpublic abstract class GridSearchHandler<G extends hex.grid.Grid<MP>,S extends GridSearchSchema<G,S,MP,P>,MP extends hex.Model.Parameters,P extends water.api.ModelParametersSchema>
extends water.api.Handler
A model specific grid search handlers should inherit from class and implements corresponding methods. FIXME: how to get rid of P, since it is already enforced by S
| Modifier and Type | Class and Description |
|---|---|
static class |
GridSearchHandler.ModelParametersFromSchemaBuilder<MP extends hex.Model.Parameters,PS extends water.api.ModelParametersSchema>
Model parameters factory building model parameters with respect to its schema.
|
| Constructor and Description |
|---|
GridSearchHandler() |
| Modifier and Type | Method and Description |
|---|---|
S |
do_train(int version,
S gridSearchSchema) |
protected abstract hex.grid.ModelFactory<MP> |
getModelFactory() |
protected void |
validateHyperParams(P params,
java.util.Map<java.lang.String,java.lang.Object[]> hyperParams)
Validate given hyper parameters with respect to type parameter P.
|
compute2, getFromDKV, getFromDKV, getHandlerMethodInputSchema, getHandlerMethodOutputSchema, markdownclone, compute, frozenType, icer, nextThrPriority, onExceptionalCompletion, priority, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeJSON_impl, writeJSONaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkprotected abstract hex.grid.ModelFactory<MP> getModelFactory()
protected void validateHyperParams(P params, java.util.Map<java.lang.String,java.lang.Object[]> hyperParams)
params - regular model build parametershyperParams - map of hyper parameters