Skip to content

Instantly share code, notes, and snippets.

@andrewschreiber
Last active August 19, 2017 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewschreiber/ef877460f2a25cf193f3c93a34823754 to your computer and use it in GitHub Desktop.
Save andrewschreiber/ef877460f2a25cf193f3c93a34823754 to your computer and use it in GitHub Desktop.
Example Hyperdash expanded SDK
# From CLI:
# hyperdash run -n 'mymodel' python mymodel.py
import hyperdash as hd
learning_rate = hd.param('learning rate', default=0.01) # Setup hyperparameters
# Model code here
hd.metric('loss', training_loss) # Record a metric
# Params and metrics are pretty printed at end of experiment
@richardartoul
Copy link

with capture_stdout():
  model.fit()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment