optuna.study

The study 模块实现了 Study 对象及相关函数。Study 类有一个公共构造函数,但不推荐直接使用此构造函数。相反,库用户应分别使用 create_study()load_study() 来创建和加载 Study

optuna.study.Study

一个研究对应于一个优化任务,即一组试验。

optuna.study.create_study

创建一个新的 Study

optuna.study.load_study

加载具有指定名称的现有 Study

optuna.study.delete_study

删除一个 Study 对象。

optuna.study.copy_study

将研究从一个存储复制到另一个存储。

optuna.study.get_all_study_names

获取存储在指定存储中的所有学习名称。

optuna.study.get_all_study_summaries

获取存储在指定存储中的所有学习历史记录。

optuna.study.MaxTrialsCallback

在结束研究之前设置最大试验次数。

optuna.study.StudyDirection

一个 Study 的方向。

optuna.study.StudySummary

一个 Study 的基本属性和聚合结果。