解决kaggle中optuna可视化plotly图表不显示

Published on Aug. 22, 2023, 12:08 p.m.

解决kaggle中optuna可视化plotly图表不显示

<h1>这里</h1>
from plotly.offline import download_plotlyjs, init_notebook_mode, iplot
init_notebook_mode(connected=True) 
<h1>end</h1>
plot_optimization_history(study)


offline和init_notebook_mode很重要。

https://stackoverflow.com/questions/54064245/plot-ly-offline-mode-in-jupyter-lab-not-displaying-plots

Tags: