I just read about Bayesian optimization and I want to try it.
I installed scikit-optimize and checked the API, and I'm confused:
I read that Bayesian optimization starts with some initialize samples.
- I can't see where I can change this number ? (
BayesSearchCV) n_pointswill change the number of parameter settings to sample in parallel andn_iteris the number of iterations (and if I'm not wrong the iterations can't run in parallel, the algorithm improve the parameters after every iteration)
- I can't see where I can change this number ? (
I read that we can use different acquisition functions. I can't see where I can change the acquisition function in
BayesSearchCV?
Is this something you are looking for?
skopt.Optimizer is the one actually doing the hyperparameter optimization.
BayesSearchCVwill buildOptimzierwithoptimizer_kwargsparameters.https://github.com/scikit-optimize/scikit-optimize/blob/de32b5fd2205a1e58526f3cacd0422a26d315d0f/skopt/searchcv.py#L551