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, _hyperParams, _maxHyperSpaceSize, _search_criteria
Constructor and Description |
---|
HyperSpaceWalker.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 |
---|---|
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, getHyperParamNames, getMaxHyperSpaceSize, getModelParams, getParametersBuilderFactory, getParams, hypers, integerHash, search_criteria
public HyperSpaceWalker.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