v0.13.0b1
Pre-release
Pre-release
·
1183 commits
to main
since this release
Highlights
Support user-defined Plotly objects
import optuna
from optuna_dashboard import save_plotly_graph_object
def objective(trial):
x = trial.suggest_float("x", -100, 100)
y = trial.suggest_categorical("y", [-1, 0, 1])
return x**2 + y
study = optuna.create_study()
study.optimize(objective, n_trials=100)
figure = optuna.visualization.plot_optimization_history(study)
save_plotly_graph_object(study, figure)
![Screenshot 2023-09-07 10 42 05](https://private-user-images.githubusercontent.com/5564044/266179402-3ff2ff30-abff-4afd-899f-45df22de2aa0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3NDEzNTQsIm5iZiI6MTcyMDc0MTA1NCwicGF0aCI6Ii81NTY0MDQ0LzI2NjE3OTQwMi0zZmYyZmYzMC1hYmZmLTRhZmQtODk5Zi00NWRmMjJkZTJhYTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTFUMjMzNzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTJiM2E5NmI3Y2YwMTQ1ZWFhYzQzMGM5MTZkNjUyMDhjNzBjNmQ5NzA5NjcxNGRlZjVmZWJhMDFjZTA5YjdlMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.3jsprYVRbt2aDi8weBBnt0OekhFtYOmbb8jVf8-iuoo)
What's Changed
- Update
errors.rst
about warnings of Artifact functionalities. by @c-bata in #549 - Add directions in CompareStudies by @keisuke-umezawa in #539
- Add
optuna_dashboard.preferential
module by @c-bata in #546 - Revert PR 534 that introduces codecov. by @c-bata in #554
- Add
.readthedocs.yml
by @c-bata in #556 - Remove
system_attrs
attributes from API response by @c-bata in #550 - Support 3dmodel artifacts by @hrntsm in #552
- Add
is_preferential
property to the study detail api response by @c-bata in #558 - Clear in memory cache every after api calls in unit tests by @c-bata in #560
- Update JSON APIs to report preferences and get preferential best trials. by @moririn2528 in #559
- Uninstall types/react-router-dom by @c-bata in #561
- add is_preferential flag to StudySummary by @moririn2528 in #563
- add ignorefile for eslint by @moririn2528 in #566
- uniform internal error style by @moririn2528 in #567
- Only show legend with multiple studies in the history plot by @keisuke-umezawa in #568
- Add initial support for Preferential Optimization by @moririn2528 in #565
- Fix the bug while displaying
study_user_attrs
by @c-bata in #570 - Merge the implementation of GraphEdf and GraphEdfMultiStudies by @keisuke-umezawa in #478
- Store artifact meta in
trial_system_attr
by @Alnusjaponica in #564 - Fix the bug while renaming a study with maximize direction by @lucasmrdt in #571
- Add docstrings of preferential optimization functions by @c-bata in #555
- Add some improvements on SQLite3 WASM loader by @c-bata in #574
- Support external_param_value and union_user_attrs on optuna-dashboard-wasm. by @c-bata in #575
- Update README and docs for the VS Code extension by @c-bata in #579
- Fix the sort of
user_attr
values by @c-bata in #580 - Improve human feedback UI for Preferential Optimization by @moririn2528 in #572
- Fix lint errors on PR #551 by @c-bata in #583
- PreferentialGPSampler by @contramundum53 in #551
- Fix an example of preferential optimization by @c-bata in #585
- Introduce
skip
flag for preferential optimization by @moririn2528 in #581 - Deploy browser-only app to GitHub Pages by @c-bata in #582
- Change public path for GitHub pages by @c-bata in #588
- Update README and add ogp for optuna-dashboard-wasm by @c-bata in #589
- Add GIF animation on README by @c-bata in #592
- Add analytics page for preferential by @moririn2528 in #587
- Update
.gitignore
for preferential optimization examples by @c-bata in #593 - Introduce codecov settings by @keisuke-umezawa in #562
- Use a different test fixture for each test file in the e2e tests by @keisuke-umezawa in #569
- [preferential] Add
PreferentialStudy.should_generate
by @contramundum53 in #595 - [preferential] Add
enqueue_trial
to PreferentialStudy by @contramundum53 in #598 - add preference history by @moririn2528 in #584
- Support user-defined plotly figures by @c-bata in #600
- Bump the version up to
v0.13.0b1
by @c-bata in #597
New Contributors
- @moririn2528 made their first contribution in #559
- @lucasmrdt made their first contribution in #571
Full Changelog: v0.12.0...v0.13.0b1