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

pip(deps): bump optuna from 2.8.0 to 2.9.0 #76

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 2, 2021

Bumps optuna from 2.8.0 to 2.9.0.

Release notes

Sourced from optuna's releases.

v2.9.0

This is the release note of v2.9.0.

Help us create the next version of Optuna! Please take a few minutes to fill in this survey, and let us know how you use Optuna now and what improvements you'd like. https://forms.gle/TtJuuaqFqtjmbCP67

Highlights

Ask-and-Tell CLI: Optuna from the Command Line

The built-in CLI which you can use to upgrade storages or check the installed version with optuna --version, now provides experimental subcommands for the Ask-and-Tell interface. It is now possible to optimize using Optuna entirely from the CLI, without writing a single line of Python.

Ask with optuna ask

Ask for parameters using optuna ask, specifying the search space, storage, study name, sampler and optimization direction. The parameters and the associated trial number can be output as either JSON or YAML.

The following is an example outputting and piping the results to a YAML file.

$ optuna ask --storage sqlite:///mystorage.db \
    --study-name mystudy \
    --sampler TPESampler \
    --sampler-kwargs '{"multivariate": true}' \
    --search-space '{"x": {"name": "UniformDistribution", "attributes": {"low": 0.0, "high": 1.0}}, "y": {"name": "CategoricalDistribution", "attributes": {"choices": ["foo", "bar"]}}}' \
    --direction minimize \
    --out yaml \
    > out.yaml
[I 2021-07-30 15:56:50,774] A new study created in RDB with name: mystudy
[I 2021-07-30 15:56:50,808] Asked trial 0 with parameters {'x': 0.21492964898919975, 'y': 'foo'} in study 'mystudy' and storage 'sqlite:///mystorage.db'.
$ cat out.yaml
trial:
number: 0
params:
x: 0.21492964898919975
y: foo

Specify multiple whitespace separated directions for multi-objective optimization.

Tell with optuna tell

After computing the objective value based on the output of ask, you can report the result back using optuna tell and it will be stored in the study.

$ optuna tell --storage sqlite:///mystorage.db \
    --study-name mystudy \
    --trial-number 0 \
    --values 1.0
[I 2021-07-30 16:01:13,039] Told trial 0 with values [1.0] and state TrialState.COMPLETE in study 'mystudy' and storage 'sqlite:///mystorage.db'.

... (truncated)

Commits

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 dependencies Updates to dependencies label Aug 2, 2021
@dependabot dependabot bot requested a review from ncilfone August 2, 2021 08:10
@coveralls
Copy link

coveralls commented Aug 2, 2021

Pull Request Test Coverage Report for Build 1089465448

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 93.006%

Totals Coverage Status
Change from base Build 1079865999: 0.2%
Covered Lines: 1290
Relevant Lines: 1387

💛 - Coveralls

@ncilfone
Copy link
Contributor

ncilfone commented Aug 2, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/optuna-2.9.0 branch from 6c7049f to 15abe3a Compare August 2, 2021 13:27
@ncilfone
Copy link
Contributor

ncilfone commented Aug 2, 2021

@dependabot rebase

Bumps [optuna](https://github.com/optuna/optuna) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/optuna/optuna/releases)
- [Commits](optuna/optuna@v2.8.0...v2.9.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 force-pushed the dependabot/pip/optuna-2.9.0 branch from 15abe3a to 2e6a091 Compare August 2, 2021 13:38
@ncilfone ncilfone merged commit 9cb83e2 into master Aug 2, 2021
@dependabot dependabot bot deleted the dependabot/pip/optuna-2.9.0 branch August 2, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Updates to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants