Skip to content

Commit

Permalink
Rename bayesian-optimization to bayesianoptimization
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Apr 23, 2020
1 parent 12313c1 commit 45c71e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/suggestion/v1alpha3/chocolate/base_chocolate_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
DEPRECATED_ALGORITHM_NAME = {
"chocolate-random": "random",
"chocolate-quasirandom": "quasirandom",
"chocolate-bayesian-optimization": "bayesian-optimization",
"chocolate-bayesian-optimization": "bayesianoptimization",
"chocolate-mocmaes": "mocmaes",
}

Expand Down Expand Up @@ -76,7 +76,7 @@ def create_optimizer(self, algorithm_name):
elif algorithm_name == "quasirandom":
self.chocolate_optimizer = choco.QuasiRandom(
self.conn, chocolate_search_space, clear_db=True)
elif algorithm_name == "bayesian-optimization":
elif algorithm_name == "bayesianoptimization":
self.chocolate_optimizer = choco.Bayes(
self.conn, chocolate_search_space, clear_db=True)
# elif self.algorithm_name == "chocolate-CMAES":
Expand Down

0 comments on commit 45c71e2

Please sign in to comment.