Skip to content

spro/sconce-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages