public interface HyperSpaceWalker<MP extends Model.Parameters,C extends HyperSpaceSearchCriteria>
Modifier and Type | Interface and Description |
---|---|
static class |
HyperSpaceWalker.BaseWalker<MP extends Model.Parameters,C extends HyperSpaceSearchCriteria>
Superclass for for all hyperparameter space walkers.
|
static class |
HyperSpaceWalker.CartesianWalker<MP extends Model.Parameters>
Hyperparameter space walker which visits each combination of hyperparameters in order.
|
static interface |
HyperSpaceWalker.HyperSpaceIterator<MP extends Model.Parameters> |
static class |
HyperSpaceWalker.RandomDiscreteValueWalker<MP extends Model.Parameters>
Hyperparameter space walker which visits random combinations of hyperparameters whose possible values are
given in explicit lists as they are with CartesianWalker.
|
Modifier and Type | Method and Description |
---|---|
default long |
estimateGridWork(long maxModels)
Return estimated grid work.
|
default java.lang.String[] |
getAllHyperParamNames() |
java.lang.String[] |
getAllHyperParamNamesInSubspaces() |
java.lang.String[] |
getHyperParamNames()
Returns hyper parameters names which are used for walking the hyper parameters space.
|
java.util.Map<java.lang.String,java.lang.Object[]> |
getHyperParams() |
long |
getMaxHyperSpaceSize()
Return estimated maximum size of hyperspace, not subject to any early stopping criteria.
|
ModelParametersBuilderFactory<MP> |
getParametersBuilderFactory() |
MP |
getParams()
Return initial model parameters for search.
|
HyperSpaceWalker.HyperSpaceIterator<MP> |
iterator()
Returns an iterator to traverse this hyper-space.
|
C |
search_criteria()
Search criteria for the hyperparameter search including directives for how to search and
when to stop the search.
|
boolean |
stopEarly(Model model,
ScoringInfo[] sk)
Based on the last model, the given array of ScoringInfo, and our stopping criteria should we stop early?
|
C search_criteria()
boolean stopEarly(Model model, ScoringInfo[] sk)
HyperSpaceWalker.HyperSpaceIterator<MP> iterator()
java.lang.String[] getHyperParamNames()
java.lang.String[] getAllHyperParamNamesInSubspaces()
default java.lang.String[] getAllHyperParamNames()
java.util.Map<java.lang.String,java.lang.Object[]> getHyperParams()
long getMaxHyperSpaceSize()
MP getParams()
default long estimateGridWork(long maxModels)
maxModels
- ModelParametersBuilderFactory<MP> getParametersBuilderFactory()