Skip to content

Instantly share code, notes, and snippets.

@jakubczakon
Last active April 27, 2019 18:10
SPACE = OrderedDict([('learning_rate', hp.loguniform('learning_rate',
np.log(0.01), np.log(0.5))),
('max_depth', hp.choice('max_depth', range(1, 30, 1))),
('num_leaves', hp.choice('num_leaves', range(2, 100, 1))),
('min_data_in_leaf', hp.choice('min_data_in_leaf',
range(10, 1000, 1))),
('feature_fraction', hp.uniform('feature_fraction', 0.1, 1.0)),
('subsample', hp.uniform('subsample', 0.1, 1.0))
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment