« Back to top page

4.7.0

4.7.0

SHAP-like Beeswarm Plot

Class or Function Names plot_beeswarm(study, *, params=None, target=None, target_name="Objective Value", color_map="RdBu_r", ax=None) study: An Optuna study with completed trials. params: A list of parameter names to include. If None, all parameters across completed trials are used. target: A callable that extracts a scalar value from a FrozenTrial. Defaults to trial.value. target_name: Label for the x-axis. Defaults to "Objective Value". color_map: Matplotlib colormap name. Defaults to "RdBu_r" (blue for low, red for high).