Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump optuna from 3.2.0 to 3.3.0 #1491

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps optuna from 3.2.0 to 3.3.0.

Release notes

Sourced from optuna's releases.

v3.3.0

This is the release note of v3.3.0.

Highlights

CMA-ES with Learning Rate Adaptation

A new variant of CMA-ES has been added. By setting the lr_adapt argument to True in CmaEsSampler, you can utilize it. For multimodal and/or noisy problems, adapting the learning rate can help avoid getting trapped in local optima. For more details, please refer to #4817. We want to thank @​nomuramasahir0, one of the authors of LRA-CMA-ES, for his great work and the development of cmaes library.

Hypervolume History Plot for Multiobjective Optimization

In multiobjective optimization, the history of hypervolume is commonly used as an indicator of performance. Optuna now supports this feature in the visualization module. Thanks to @​y0z for your great work!

246094447-f17d5961-216a-44b3-b9ce-715c105445a7

Constrained Optimization Support for Visualization Functions

Plotly matplotlib
constrained-optimization-history-plot (1)

Some samplers support constrained optimization, however, many other features cannot handle it. We are continuously enhancing support for constraints. In this release, plot_optimization_history starts to consider constraint violations. Thanks to @​hrntsm for your great work!

import optuna
def objective(trial):
x = trial.suggest_float("x", -15, 30)
y = trial.suggest_float("y", -15, 30)
v0 = 4 * x2 + 4 * y2
trial.set_user_attr("constraint", [1000 - v0])
return v0
def constraints_func(trial):
return trial.user_attrs["constraint"]
sampler = optuna.samplers.TPESampler(constraints_func=constraints_func)
study = optuna.create_study(sampler=sampler)
study.optimize(objective, n_trials=100)
fig = optuna.visualization.plot_optimization_history(study)
fig.show()

Streamlit Integration for Human-in-the-loop Optimization

... (truncated)

Commits
  • da30505 Merge pull request #4860 from c-bata/bump-to-v3.3.0
  • f1b9b21 Bump the version up to v3.3.0
  • 6de545a Merge pull request #4858 from c-bata/add-experimental-artiacts
  • 2d566cd Merge branch 'master' into add-experimental-artiacts
  • f827582 Merge pull request #4855 from Alnusjaponica/artifact-docs
  • 2f7c90d Merge pull request #4857 from Alnusjaponica/replace-deprecated
  • cda0841 Fix import
  • 19a1ab5 Merge pull request #4848 from xadrianzetx/contour-best-values
  • 50b38ea Add an experimental decorator to artifact
  • 25611b1 Replace deprecated IntersectionSearchSpace
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [optuna](https://github.com/optuna/optuna) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/optuna/optuna/releases)
- [Commits](optuna/optuna@v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: optuna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the Security Urgent because related to security label Aug 7, 2023
@dependabot dependabot bot requested a review from lisphilar August 7, 2023 20:29
@lisphilar lisphilar added this to the Release 3.0.1 milestone Aug 8, 2023
@lisphilar lisphilar merged commit e3f551f into main Aug 8, 2023
11 of 12 checks passed
@delete-merged-branch delete-merged-branch bot deleted the dependabot/pip/optuna-3.3.0 branch August 8, 2023 10:43
@lisphilar lisphilar modified the milestones: Release 3.0.1, Release 3.1.0 Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security Urgent because related to security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant