Skip to content

Commit

Permalink
Merge pull request optuna#664 from c-bata/readme-jupyterlab
Browse files Browse the repository at this point in the history
Update README to introduce Jupyter Lab extension
  • Loading branch information
c-bata committed Oct 19, 2023
2 parents 095ba50 + 14afdee commit c4ac592
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ $ docker run -it --rm -p 8080:8080 ghcr.io/optuna/optuna-dashboard postgresql+ps

</details>

## Jupyter Lab Extension (Experimental)

You can install the Jupyter Lab extension via [PyPI](https://pypi.org/project/jupyterlab-optuna/).

```
$ pip install jupyterlab jupyterlab-optuna
```

<img src="./docs/_static/jupyterlab-extension.png" style="width:600px;" alt="Jupyter Lab Extension">

To use, click the tile to launch the extension, and enter your Optuna’s storage URL (e.g. `sqlite:///db.sqlite3`) in the dialog.

## Browser-only version (Experimental)

<img src="./docs/_static/browser-app.gif" style="width:600px;" alt="Browser-only version">
Expand All @@ -93,7 +105,7 @@ https://optuna.github.io/optuna-dashboard/

You can install the VS Code extension via [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Optuna.optuna-dashboard#overview).

<img src="./docs/_static/vscode-extension.png" style="width:600px;" alt="VSCode Extension">
<img src="./docs/_static/vscode-extension.png" style="width:600px;" alt="VS Code Extension">

Please right-click the SQLite3 files (`*.db` or `*.sqlite3`) in the VS Code file explorer and select the "Open in Optuna Dashboard" command from the dropdown menu.
This extension leverages the browser-only version of Optuna Dashboard, so the same limitations apply.
Expand Down
Binary file added docs/_static/jupyterlab-extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,19 @@ or
$ pip install uwsgi
$ uwsgi --http :8080 --workeers 4 --wsgi-file wsgi.py
Jupyter Lab Extension (Experimental)
--------------------------------

You can install the Jupyter Lab extension via `PyPI <https://pypi.org/project/jupyterlab-optuna/>`_.

.. figure:: _static/jupyterlab-extension.png
:alt: Screenshot for the Jupyter Lab Extension
:align: center
:width: 800px

Jupyter Lab Extension

To use, click the tile to launch the extension, and enter your Optuna’s storage URL (e.g. ``sqlite:///db.sqlite3``) in the dialog.

Browser-only version (Experimental)
-----------------------------------
Expand Down

0 comments on commit c4ac592

Please sign in to comment.