Skip to content

Commit 17f69e7

Browse files
formatted with black
1 parent 840f880 commit 17f69e7

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

kernel_tuner/strategies/bayes_opt.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,19 @@
2828

2929
# _options dict is used for generating documentation, but is not used to check for unsupported strategy_options in bayes_opt
3030
_options = dict(
31-
covariancekernel=('The Covariance kernel to use, choose any from "constantrbf", "rbf", "matern32", "matern52"', "matern32"),
31+
covariancekernel=(
32+
'The Covariance kernel to use, choose any from "constantrbf", "rbf", "matern32", "matern52"',
33+
"matern32",
34+
),
3235
covariancelengthscale=("The covariance length scale", 1.5),
33-
method=("The Bayesian Optimization method to use, choose any from " + ", ".join(supported_methods), "multi-ultrafast"),
34-
samplingmethod=("Method used for initial sampling the parameter space, either random or Latin Hypercube Sampling (LHS)", "lhs"),
36+
method=(
37+
"The Bayesian Optimization method to use, choose any from " + ", ".join(supported_methods),
38+
"multi-ultrafast",
39+
),
40+
samplingmethod=(
41+
"Method used for initial sampling the parameter space, either random or Latin Hypercube Sampling (LHS)",
42+
"lhs",
43+
),
3544
popsize=("Number of initial samples", 20),
3645
)
3746

0 commit comments

Comments
 (0)