Skip to content

Instantly share code, notes, and snippets.

@jrzaurin
Last active March 9, 2019 12:58
Show Gist options
  • Save jrzaurin/2d3ccdabd864cdc612f42f13c6014c4a to your computer and use it in GitHub Desktop.
Save jrzaurin/2d3ccdabd864cdc612f42f13c6014c4a to your computer and use it in GitHub Desktop.
params = {
'learning_rate': hp.uniform('learning_rate', 0.01, 0.2),
'num_boost_round': hp.quniform('num_boost_round', 50, 500, 10),
'num_leaves': hp.quniform('num_leaves', 31, 256, 4),
'min_child_weight': hp.uniform('min_child_weight', 0.1, 10),
'colsample_bytree': hp.uniform('colsample_bytree', 0.5, 1.),
'subsample': hp.uniform('subsample', 0.5, 1.),
'reg_alpha': hp.uniform('reg_alpha', 0.01, 0.1),
'reg_lambda': hp.uniform('reg_lambda', 0.01, 0.1),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment