Skip to content

Instantly share code, notes, and snippets.

@WillKoehrsen
Last active August 16, 2019 06:48
Show Gist options
  • Save WillKoehrsen/79d803ad9ba67fae2a96e5417111a799 to your computer and use it in GitHub Desktop.
Save WillKoehrsen/79d803ad9ba67fae2a96e5417111a799 to your computer and use it in GitHub Desktop.
# boosting type domain
boosting_type = {'boosting_type': hp.choice('boosting_type',
[{'boosting_type': 'gbdt',
'subsample': hp.uniform('subsample', 0.5, 1)},
{'boosting_type': 'dart',
'subsample': hp.uniform('subsample', 0.5, 1)},
{'boosting_type': 'goss',
'subsample': 1.0}])}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment