我刚读到关于Bayesian optimization的文章,我想试试。
我安装了scikit-optimize并检查了API,我很困惑:
- I can't see where I can change this number ? (`BayesSearchCV`)
- `n_points` will change the number of parameter settings to sample in parallel and `n_iter` is 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)BayesSearchCV中的获取功能?发布于 2021-03-03 15:14:38
这是你要找的东西吗?
BayesSearchCV(..., optimizer_kwargs={'n_initial_points': 20, 'acq_func': 'gp_hedge'}, ...)skopt.Optimizer实际上是在进行超参数优化。
BayesSearchCV将使用optimizer_kwargs参数构建Optimzier。
https://stackoverflow.com/questions/66459451
复制相似问题