#6329·optuna

Add `user_attrs` to the list of parameters that you can plot

Author: fountaindiveCreated Nov 5, 2025Updated Jul 15, 2026
Labelsfeature

Motivation

My use case was optimising a LightGBM model where I use early stopping to determining the number of boosting rounds. I can record the number of estimators in a trial using trial.set_user_attr but I haven't figured out a way to plot this using the usual optuna.visualisation package.

Is there a way how to do this? If not could this be added? What would be the easiest way to add this and I maybe could give it a go.

Thanks!

Description

see above

Alternatives (optional)

No response

Additional context (optional)

No response