public static class HyperSpaceWalker.RandomDiscreteValueWalker<MP extends Model.Parameters> extends HyperSpaceWalker.BaseWalker<MP,HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria>
HyperSpaceWalker.BaseWalker.WalkerFactory<MP extends Model.Parameters,C extends HyperSpaceSearchCriteria>
HyperSpaceWalker.BaseWalker<MP extends Model.Parameters,C extends HyperSpaceSearchCriteria>, HyperSpaceWalker.CartesianWalker<MP extends Model.Parameters>, HyperSpaceWalker.HyperSpaceIterator<MP extends Model.Parameters>, HyperSpaceWalker.RandomDiscreteValueWalker<MP extends Model.Parameters>
_hyperParamNames, _hyperParamNamesSubspace, _hyperParams, _hyperParamSubspaces, _maxHyperSpaceSize, _search_criteria, SUBSPACES
Constructor and Description |
---|
RandomDiscreteValueWalker(MP params,
java.util.Map<java.lang.String,java.lang.Object[]> hyperParams,
ModelParametersBuilderFactory<MP> paramsBuilderFactory,
HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria search_criteria) |
Modifier and Type | Method and Description |
---|---|
long |
estimateGridWork(long maxModels)
Return estimated grid work.
|
HyperSpaceWalker.HyperSpaceIterator<MP> |
iterator()
Returns an iterator to traverse this hyper-space.
|
boolean |
stopEarly(Model model,
ScoringInfo[] sk)
Based on the last model, the given array of ScoringInfo, and our stopping criteria should we stop early?
|
computeMaxSizeOfHyperSpace, getAllHyperParamNamesInSubspaces, getHyperParamNames, getHyperParams, getMaxHyperSpaceSize, getModelParams, getParametersBuilderFactory, getParams, hypers, integerHash, mergeHashMaps, search_criteria
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllHyperParamNames
public RandomDiscreteValueWalker(MP params, java.util.Map<java.lang.String,java.lang.Object[]> hyperParams, ModelParametersBuilderFactory<MP> paramsBuilderFactory, HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria search_criteria)
public boolean stopEarly(Model model, ScoringInfo[] sk)
stopEarly
in interface HyperSpaceWalker<MP extends Model.Parameters,HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria>
stopEarly
in class HyperSpaceWalker.BaseWalker<MP extends Model.Parameters,HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria>
public HyperSpaceWalker.HyperSpaceIterator<MP> iterator()
HyperSpaceWalker
public long estimateGridWork(long maxModels)
HyperSpaceWalker