文件名称:bohb-hpo:贝叶斯优化 Hyperband 超参数优化
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-19 09:27:41
hyperparameter-optimization bayesian bayesian-optimization hpo hyperband
贝叶斯优化 Hyperband 超参数优化 实施 要求 - numpy - scipy - statsmodels - dask - torch (example) 安装 pip3 install bohb-hpo 用法 from bohb import BOHB import bohb . configspace as cs def objective ( step , alpha , beta ): return 1 / ( alpha * step + 0.1 ) + beta def evaluate ( params , n_iterations ): loss = 0.0 for i in range ( int ( n_iterations )): loss += objective ( ** params , step = i )
【文件预览】:
bohb-hpo-master
----LICENSE(1KB)
----bohb()
--------bohb.py(6KB)
--------__init__.py(51B)
--------configspace.py(10KB)
----examples()
--------mnist.py(6KB)
--------basic.py(578B)
----setup.py(924B)
----.gitignore(36B)
----README.md(2KB)