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

plot intermediate values of running trials #225

Merged

Conversation

yoshinobc
Copy link
Contributor

@yoshinobc yoshinobc commented Apr 28, 2022

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

This PR fix #92

What does this implement/fix? Explain your changes.

Motivation

plot intermediate values of running trials

Description of the changes

  • Modified filter function for trials in GraphIntermediateValues.tsx
  • added sorting of trials before plotting
  • added the word "running" for running trials

スクリーンショット 2022-04-28 21 32 55

@yoshinobc yoshinobc changed the title changed filter function for trials and display name plot intermediate values of running trials Apr 28, 2022
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

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

Hi @yoshinobc! Thank you for your pull request. I leave a review comment 🙇

optuna_dashboard/ts/components/GraphIntermediateValues.tsx Outdated Show resolved Hide resolved
@@ -55,7 +55,7 @@ export const actionCreator = () => {
studyId in studyDetails
? studyDetails[studyId].trials.slice(0, nLocalFixedTrials)
: []
study.trials = study.trials.concat(currentFixedTrials)
study.trials = currentFixedTrials.concat(study.trials)
Copy link
Member

Choose a reason for hiding this comment

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

Oh, sorry. Now I understand what you said. Your changes looks perfect 💯

@c-bata
Copy link
Member

c-bata commented May 11, 2022

Let me merge this PR with two suggested changes.

@c-bata c-bata merged commit bae3635 into optuna:main May 11, 2022
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.

Plot intermediate values of running trials
2 participants