optuna.visualization

The visualization 模块提供了使用 plotly 和 matplotlib 绘制优化过程的实用函数。绘图函数通常接受一个 Study 对象,可选参数作为列表传递给 params 参数。

备注

optuna.visualization 模块中,以下函数使用 plotly 创建图形,但 JupyterLab 默认情况下无法渲染它们。请按照此 安装指南JupyterLab 中显示图形。

备注

The plot_param_importances() 需要 scikit-learn 的 Python 包。

plot_contour

plot_contour

plot_edf

plot_edf

plot_hypervolume_history

plot_hypervolume_history

plot_intermediate_values

plot_intermediate_values

plot_optimization_history

plot_optimization_history

plot_parallel_coordinate

plot_parallel_coordinate

plot_param_importances

plot_param_importances

plot_pareto_front

plot_pareto_front

plot_rank

plot_rank

plot_slice

plot_slice

plot_terminator_improvement

plot_terminator_improvement

plot_timeline

plot_timeline

由 Sphinx-Gallery 生成的图库

备注

以下 optuna.visualization.matplotlib 模块使用 Matplotlib 作为后端。

参见

The 超参数优化分析的快速可视化 tutorial provides use-cases with examples.