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

requirements: update optuna requirement from <3.3.0 to <3.4.0 #2764

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on optuna to permit the latest version.

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

You can trigger a rebase of this PR 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)

@dependabot dependabot bot added the deps Dependency update label Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely requested a review from davidt0x August 7, 2023 23:49
Copy link
Collaborator

@davidt0x davidt0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jvesely
Copy link
Collaborator

jvesely commented Aug 8, 2023

@dependabot rebase

Updates the requirements on [optuna](https://github.com/optuna/optuna) to permit the latest version.
- [Release notes](https://github.com/optuna/optuna/releases)
- [Commits](optuna/optuna@v0.1.0...v3.3.0)

---
updated-dependencies:
- dependency-name: optuna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/devel/optuna-lt-3.4.0 branch from fee8bf2 to 837c3d0 Compare August 8, 2023 17:58
@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely
Copy link
Collaborator

jvesely commented Aug 8, 2023

@dependabot squash and merge

@dependabot dependabot bot merged commit 8732aaa into devel Aug 8, 2023
@dependabot dependabot bot deleted the dependabot/pip/devel/optuna-lt-3.4.0 branch August 8, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Dependency update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants