G
- Implementation output of grid searchMP
- Type of model parametersP
- Type of schema representing model parametersS
- Schema representing structure of grid search end-pointpublic class GridSearchHandler<G extends Grid<MP>,S extends GridSearchSchema<G,S,MP,P>,MP extends Model.Parameters,P extends ModelParametersSchemaV3> extends 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 Model.Parameters,PS extends ModelParametersSchemaV3>
Model parameters factory building model parameters with respect to its schema.
|
Constructor and Description |
---|
GridSearchHandler() |
Modifier and Type | Method and Description |
---|---|
S |
train(int version,
S gridSearchSchema) |
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.
|
getFromDKV, getFromDKV, getHandlerMethodInputSchema, getHandlerMethodOutputSchema, markdown
asBytes, clone, compute, compute1, compute2, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON
__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, onCompletion, onExceptionalCompletion, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
protected void validateHyperParams(P params, java.util.Map<java.lang.String,java.lang.Object[]> hyperParams)
params
- regular model build parametershyperParams
- map of hyper parameters