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

Add plot for runtime benchmarking #109

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

nabenabe0928
Copy link
Contributor

Contributor Agreements

Please read the contributor agreements and if you agree, please click the checkbox below.

  • I agree to the contributor agreements.

Motivation

This PR is to add a plot to compare multiple samplers' runtime.

Description of the changes

@y0z y0z self-requested a review July 29, 2024 09:58
Copy link
Member

@y0z y0z left a comment

Choose a reason for hiding this comment

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

@nabenabe0928
Copy link
Contributor Author

nabenabe0928 commented Jul 30, 2024

@y0z

Probably, it is nicer to have a guidance to pre-commit in the PR template.
For example, something like this is sufficient.

To merge this PR, please use pre-commit.

$ pip install pre-commit
$ pre-commit run --all-files

Copy link
Member

@y0z y0z left a comment

Choose a reason for hiding this comment

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

I leave a minor comment.

from matplotlib.axes._axes import Axes


def objective(trial: optuna.Trial) -> float:
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps this objective function can be removed.

Copy link
Member

@y0z y0z left a comment

Choose a reason for hiding this comment

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

LGTM

@y0z y0z merged commit f2a79e2 into optuna:main Jul 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants