Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Created June 28, 2018 00:09
Show Gist options
  • Save WillKoehrsen/76312eb445f52dd18eb066e489636c6a to your computer and use it in GitHub Desktop.
Save WillKoehrsen/76312eb445f52dd18eb066e489636c6a to your computer and use it in GitHub Desktop.
# Dataframe of results from optimization
tpe_results = pd.DataFrame({'loss': [x['loss'] for x in tpe_trials.results],
'iteration': tpe_trials.idxs_vals[0]['x'],
'x': tpe_trials.idxs_vals[1]['x']})
tpe_results.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment