optuna笔记

不同采样算法:
optuna.samplers.TPESampler 实现的 Tree-structured Parzen Estimator 算法
optuna.samplers.CmaEsSampler 实现的 CMA-ES 算法
optuna.samplers.GridSampler 实现的网格搜索
optuna.samplers.RandomSampler 实现的随机搜索
默认TPE

来源:csdn

study = optuna.create_study(sampler=TPESampler(), direction="maximize")
study.optimize(objective, n_trials=10, timeout=600) # Run for 10 minutes
print("Number of completed trials: {}".format(len(study.trials)))
print("Best trial:")
trial = study.best_trial

来源

其余链接:again:
https://blog.csdn.net/jasminefeng/article/details/119642221
https://blog.csdn.net/jasminefeng/article/details/119642221?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165553815616780357295359%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=165553815616780357295359&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~rank_v31_ecpm-4-119642221-null-null.142v17control,157v15new_3&utm_term=pycharm+%E8%B0%83%E5%8F%82&spm=1018.2226.3001.4187
https://blog.csdn.net/jasminefeng/article/details/119642221
zhihu
csdn

zhihu
添加链接描述
添加链接描述
添加链接描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值