Closed krishdotn1 closed 3 months ago
Thank you for your comment.
I found two issues in your code.
study = optuna.create_study(
storage="sqlite:///./db.sqlite3",
study_name=tb_time,
direction=["maximize", "minimize"],
pruner=optuna.pruners.MedianPruner()
)
study.optimize(objective, n_trials=100, n_jobs=8)
direction=["maximize", "minimize"],
should be directions=["maximize", "minimize"],
(cf. reference)Please try again after resolving these issues.
Thank you! it's work. :)
Expected behavior
I found on doc that multi-object optimization is possible.
but it show me an error
below is my actual code.
study = optuna.create_study( storage="sqlite:///./db.sqlite3", study_name=tb_time, direction=["maximize", "minimize"], pruner=optuna.pruners.MedianPruner() ) study.optimize(objective, n_trials=100, n_jobs=8)
Environment
Error messages, stack traces, or logs
Steps to reproduce
1. 2. 3.
Additional context (optional)
No response