Skip to content

Instantly share code, notes, and snippets.

@mickaellegal
Created January 30, 2014 16:49
Show Gist options
  • Save mickaellegal/8713026 to your computer and use it in GitHub Desktop.
Save mickaellegal/8713026 to your computer and use it in GitHub Desktop.
Shell: yHat login
yh = Yhat("YHAT_USERNAME", "YHAT_APIKEY")
yh.deploy("NYTimesClassifier", myModel)
# Once everything is uploaded you should see the following message
uploading... done!
{u'modelname': u'NYTimesClassifier', u'status': u'success', u'version': 1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment