From f2f43b13673bc60d76a079e8aa0135e5ee278be3 Mon Sep 17 00:00:00 2001 From: Federico Tomasi Date: Thu, 11 Jan 2018 14:51:55 +0100 Subject: [PATCH] Update docstring for the `verbosity` parameter (now default to `False`). --- GPyOpt/core/bo.py | 2 +- GPyOpt/methods/bayesian_optimization.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GPyOpt/core/bo.py b/GPyOpt/core/bo.py index 4887118f9..4e2e61a7a 100644 --- a/GPyOpt/core/bo.py +++ b/GPyOpt/core/bo.py @@ -75,7 +75,7 @@ def run_optimization(self, max_iter = 0, max_time = np.inf, eps = 1e-8, context :param max_iter: exploration horizon, or number of acquisitions. If nothing is provided optimizes the current acquisition. :param max_time: maximum exploration horizon in seconds. :param eps: minimum distance between two consecutive x's to keep running the model. - :param verbosity: flag to print the optimization results after each iteration (default, True). + :param verbosity: flag to print the optimization results after each iteration (default, False). :param report_file: filename of the file where the results of the optimization are saved (default, None). :param context: fixes specified variables to a particular context (values) for the optimization run (default, None). """ diff --git a/GPyOpt/methods/bayesian_optimization.py b/GPyOpt/methods/bayesian_optimization.py index 487617b27..611ba3b85 100644 --- a/GPyOpt/methods/bayesian_optimization.py +++ b/GPyOpt/methods/bayesian_optimization.py @@ -63,7 +63,7 @@ class BayesianOptimization(BO): - 'thompson_sampling': batch method using Thompson sampling. :param batch_size: size of the batch in which the objective is evaluated (default, 1). :param num_cores: number of cores used to evaluate the objective (default, 1). - :param verbosity: prints the models and other options during the optimization. + :param verbosity: prints the models and other options during the optimization (default, False). :param maximize: when True -f maximization of f is done by minimizing -f (default, False). :param **kwargs: extra parameters. Can be used to tune the current optimization setup or to use deprecated options in this package release.