« Back to top page

Step Distribution Plot

A visualization for the distribution of steps in the optimization if you use the pruning feature.

Class or Function Names

  • plot_step_distribution

Installation

You should install plotly to use this visualization.

$ pip install plotly

Example

This plot shows how many steps (budget, epoch, iterations, etc.) were consumed before pruning occurred for each trial.

fig = plot_step_distribution(study)

See example.py for a full example. The following figures are obtained from the analysis of the optimization. Step Distribution Plot

Package
visualization/plot_step_distribution
Author
Hideaki Imamura
License
MIT License
Verified Optuna version
  • 3.6.1
Last update
2024-07-09