Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Last active June 28, 2018 13:00
Show Gist options
  • Save WillKoehrsen/4769dee0a5a6fd389dab92a73096f724 to your computer and use it in GitHub Desktop.
Save WillKoehrsen/4769dee0a5a6fd389dab92a73096f724 to your computer and use it in GitHub Desktop.
from hyperopt import fmin
# Run 2000 evals with the tpe algorithm
tpe_best = fmin(fn=objective, space=space,
algo=tpe_algo, trials=tpe_trials,
max_evals=2000)
print(tpe_best)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment