All Projects → spro → sconce-python

spro / sconce-python

Licence: other
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language

sconce

Sconce is a dashboard for monitoring and comparing data in real time. It was built to be an easy way to visualize the training progress of different machine learning models.

Installation

Install with pip:

pip install sconce

Usage

To start, create a sconce Job with a name and (optionally) parameters. Jobs with the same name will be displayed together, so you can see how different parameters affect results.

import sconce

# Create a sconce job with a name and parameters
job = sconce.Job('my-neural-network', {
    'n_layers': 6,
    'hidden_size': 250,
    'learning_rate': 0.001
})

To plot data, call job.record(x, y). Instead of posting every data point, Sconce will average the values and plot them every plot_every calls.

# Record x, y values
for x in range(1000):
    y = train()
    job.record(x, y)

Then visit http://sconce.prontotype.us/jobs/my-neural-network to view your results in real time.

Configuration

If you want more or less granularity, change job.plot_every and job.print_every:

job.plot_every = 10
job.print_every = 100

Private jobs

TODO: Register for an account and API key at http://sconce.prontotype.us/ to create private boards.

sconce.login('spro', 'asdf1234uiop5768')
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].