New features
`dvclive.optuna`
python
import optuna
from dvclive.optuna import DVCLiveCallback
def objective(trial):
x = trial.suggest_float("x", -10, 10)
return (x - 2) ** 2
study = optuna.create_study()
study.optimize(
objective, n_trials=7, callbacks=[DVCLiveCallback()])
What's Changed
* log stage template by dberenbaum in https://github.com/iterative/dvclive/pull/497
* Added Optuna callback. by daavoo in https://github.com/iterative/dvclive/pull/356
* frameworks: Use `log_artifact`. by daavoo in https://github.com/iterative/dvclive/pull/500
**Full Changelog**: https://github.com/iterative/dvclive/compare/2.4.0...2.5.0