optuna.visualization
The visualization 模块提供了使用 plotly 和 matplotlib 绘制优化过程的实用函数。绘图函数通常接受一个 Study 对象,可选参数作为列表传递给 params 参数。
备注
在 optuna.visualization 模块中,以下函数使用 plotly 创建图形,但 JupyterLab 默认情况下无法渲染它们。请按照此 安装指南 在 JupyterLab 中显示图形。
备注
The plot_param_importances() 需要 scikit-learn 的 Python 包。
备注
以下 optuna.visualization.matplotlib 模块使用 Matplotlib 作为后端。
参见
The 超参数优化分析的快速可视化 tutorial provides use-cases with examples.