Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Created July 3, 2018 15:37
Show Gist options
  • Save WillKoehrsen/f4255e5a655fba996f9e1d2c6db9840e to your computer and use it in GitHub Desktop.
Save WillKoehrsen/f4255e5a655fba996f9e1d2c6db9840e to your computer and use it in GitHub Desktop.
from hyperopt import fmin
MAX_EVALS = 500
# Optimize
best = fmin(fn = objective, space = space, algo = tpe.suggest,
max_evals = MAX_EVALS, trials = bayes_trials)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment