public static final class HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria extends HyperSpaceSearchCriteria
HyperSpaceSearchCriteria.CartesianSearchCriteria, HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria, HyperSpaceSearchCriteria.Strategy
Modifier and Type | Field and Description |
---|---|
double |
_stopping_tolerance |
_strategy
Constructor and Description |
---|
HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria() |
Modifier and Type | Method and Description |
---|---|
protected double |
defaultStoppingTolerance() |
int |
max_models()
Max number of models to build.
|
double |
max_runtime_secs()
Max runtime for the entire grid, in seconds.
|
long |
seed()
Seed for the random choices of hyperparameter values.
|
void |
set_max_models(int _max_models) |
void |
set_max_runtime_secs(double _max_runtime_secs) |
void |
set_seed(long _seed) |
void |
set_stopping_metric(ScoreKeeper.StoppingMetric _stopping_metric) |
void |
set_stopping_rounds(int _stopping_rounds) |
void |
set_stopping_tolerance(double _stopping_tolerance) |
ScoreKeeper.StoppingMetric |
stopping_metric()
Metric to use for convergence checking; only for _stopping_rounds > 0
|
int |
stopping_rounds()
Early stopping based on convergence of stopping_metric.
|
double |
stopping_tolerance()
Relative tolerance for metric-based stopping criterion: stop if relative improvement is not at least this much.
|
strategy
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria()
protected double defaultStoppingTolerance()
public long seed()
public int max_models()
public double max_runtime_secs()
public int stopping_rounds()
public ScoreKeeper.StoppingMetric stopping_metric()
stopping_metric
in class HyperSpaceSearchCriteria
public double stopping_tolerance()
public void set_seed(long _seed)
public void set_max_models(int _max_models)
public void set_max_runtime_secs(double _max_runtime_secs)
public void set_stopping_rounds(int _stopping_rounds)
public void set_stopping_metric(ScoreKeeper.StoppingMetric _stopping_metric)
public void set_stopping_tolerance(double _stopping_tolerance)