optuna / optuna-dashboard

Real-time Web Dashboard for Optuna.
https://optuna-dashboard.readthedocs.io/en/latest/
Other
503 stars 83 forks source link

Support backend rendering of plots in the top page #805

Closed knshnb closed 6 months ago

knshnb commented 7 months ago

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.

Reference Issues/PRs

Top page version of https://github.com/optuna/optuna-dashboard/pull/778

What does this implement/fix? Explain your changes.

This PR supports the backend rendering of the following three plots.

We need to discuss how to handle includePruned and logScale args to address history and intermediate values plots.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (3880129) 69.71% compared to head (ead77a9) 69.53%. Report is 16 commits behind head on main.

Files Patch % Lines
optuna_dashboard/_app.py 57.14% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #805 +/- ## ========================================== - Coverage 69.71% 69.53% -0.18% ========================================== Files 35 35 Lines 2364 2370 +6 ========================================== Hits 1648 1648 - Misses 716 722 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

porink0424 commented 6 months ago

@knshnb Thank you for your PR! I left some suggestions to fix.

knshnb commented 6 months ago

Thanks for the review! I updated the PR.