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.0.5 to 3.1.0 #1331

Merged
merged 1 commit into from
Jan 19, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 18, 2023

Bumps optuna from 3.0.5 to 3.1.0.

Release notes

Sourced from optuna's releases.

v3.1.0

This is the release note of v3.1.0.

This is not something you have to read from top to bottom to learn about the summary of Optuna v3.1. The recommended way is reading the release blog.

Highlights

New Features

CMA-ES with Margin

CMA-ES CMA-ES with Margin
CMA-ES CMA-ESwM

“The animation is referred from https://github.com/EvoConJP/CMA-ES_with_Margin, which is distributed under the MIT license.”

CMA-ES achieves strong performance for continuous optimization, but there is still room for improvement in mixed-integer search spaces. To address this, we have added support for the "CMA-ES with Margin" algorithm to our CmaEsSampler, which makes it more efficient in these cases. You can see the benchmark results here. For more detailed information about CMA-ES with Margin, please refer to the paper “CMA-ES with Margin: Lower-Bounding Marginal Probability for Mixed-Integer Black-Box Optimization - arXiv”, which has been accepted for presentation at GECCO 2022.

import optuna
from optuna.samplers import CmaEsSampler
def objective(trial):
x = trial.suggest_float("y", -10, 10, step=0.1)
y = trial.suggest_int("x", -100, 100)
return x**2 + y
study = optuna.create_study(sampler=CmaEsSampler(with_margin=True))
study.optimize(objective)

Distributed Optimization via NFS

JournalFileStorage, a file storage backend based on JournalStorage, supports NFS (Network File System) environments. It is the easiest option for users who wish to execute distributed optimization in environments where it is difficult to set up database servers such as MySQL, PostgreSQL or Redis (e.g. #815, #1330, #1457 and #2216).

import optuna
from optuna.storages import JournalStorage, JournalFileStorage
def objective(trial):
x = trial.suggest_float("x", -100, 100)
y = trial.suggest_float("y", -100, 100)
return x**2 + y
storage = JournalStorage(JournalFileStorage("./journal.log"))
study = optuna.create_study(storage=storage)
study.optimize(objective)

... (truncated)

Commits
  • 6adfe8c Merge pull request #4346 from HideakiImamura/bump-version-number-3.1.0
  • c7097f3 Bump version number to 3.1.0
  • 45e441b Merge pull request #4239 from c-bata/cmaes-obsoleted-system-attrs
  • 86b9288 Merge pull request #4327 from nzw0301/add-python-3.11-integration-ci
  • fd841ed Merge pull request #4276 from Alnusjaponica/fix-checks-integration-chainer
  • 74735d6 Merge pull request #4344 from toshihikoyanase/fix-processgroup-import
  • 67c9ab3 Fix import of ProcessGroup
  • 48fec20 Merge pull request #4281 from Alnusjaponica/fix-checks-integration-pytorch-di...
  • 618af22 Merge pull request #4279 from Alnusjaponica/fix-checks-integration-test-pytor...
  • 7102474 Merge pull request #4334 from nzw0301/update-brute-force-sampler-docs
  • 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)

@dependabot dependabot bot added the Security Urgent because related to security label Jan 18, 2023
@dependabot dependabot bot requested a review from lisphilar January 18, 2023 20:08
@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Merging #1331 (5c39581) into main (7d45a90) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1331   +/-   ##
=======================================
  Coverage   91.15%   91.15%           
=======================================
  Files          43       43           
  Lines        2792     2792           
  Branches      281      281           
=======================================
  Hits         2545     2545           
  Misses        229      229           
  Partials       18       18           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Bumps [optuna](https://github.com/optuna/optuna) from 3.0.5 to 3.1.0.
- [Release notes](https://github.com/optuna/optuna/releases)
- [Commits](optuna/optuna@v3.0.5...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@lisphilar lisphilar added this to the Release v3.0.0 milestone Jan 19, 2023
@lisphilar lisphilar merged commit f05e676 into main Jan 19, 2023
@delete-merged-branch delete-merged-branch bot deleted the dependabot/pip/optuna-3.1.0 branch January 19, 2023 10:17
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