Skip to content

Commit

Permalink
Turn on constant liar by default
Browse files Browse the repository at this point in the history
  • Loading branch information
g-votte committed Aug 16, 2021
1 parent b2085a6 commit 1d81885
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/suggestion/v1beta1/optuna/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def _create_sampler(self, algorithm_spec):
raise ValueError("Unknown name for {}: {}".format(name, k))

kwargs["multivariate"] = name == "multivariate-tpe"
kwargs["constant_liar"] = True

sampler = optuna.samplers.TPESampler(**kwargs)

Expand Down

0 comments on commit 1d81885

Please sign in to comment.