Code Monkey home page Code Monkey logo

optdash's Introduction

optdash

Optdash is a third-party dashboard for optuna.

This dashboard is deprecated in favor of optuna/optuna-dashboard.

README GIF

Key features

  • Simple usage
  • Interactive visualization
  • Minimal dependencies
    • Optdash depends solely on Optuna (and sklearn, which is an optional depedency of optuna).

Quick start

optdash your/db/url

The db url is the same with optuna, whose format follows RFC-1738.

Install

From pypi

pip install optdash

From source

cd optdash/frontend
npm i
npm run build
cd ../../
python -m pip install .

Tutorial

First, create optuna studies.

import optuna

def objective(trial):
     ret = 0
     for j in range(20):
         ret += trial.suggest_float(f"param{j}", 0.0, 1.0)
         trial.report(ret, j)
     return ret

for i in range(10):
     optuna.create_study(
         study_name=f"study{i}", storage="sqlite:///test.db", load_if_exists=True
     ).optimize(objective, n_trials=30)

Next, run optdash from a command prompt.

optdash sqlite:///test.db

Then, you'll see the following message

INFO:root:Serving at http://localhost:8080

Open your web-browser, e.g., Google Chrome, and access to http://localhost:8080.

optdash's People

Contributors

ytsmiling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

optdash's Issues

Could not install from "" as it does not contain a package.json file.

(/home/datascience/conda/mlcpuv1) bash-4.2$ npm i
npm ERR! code ENOLOCAL
npm ERR! Could not install from "" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/datascience/.npm/_logs/2021-02-10T21_42_24_532Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.