Last active
November 1, 2018 00:33
-
-
Save talperetz/7049dbd90956feadc8978bc34978f8e5 to your computer and use it in GitHub Desktop.
Catboost parameter space for skopt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from skopt.space import Real, Integer | |
params_space = [Real(0.01, 0.8, name='learning_rate'), | |
Integer(2, 10, name='max_depth'), | |
Real(0.5, 1.0, name='colsample_bylevel'), | |
Real(1.0, 16.0, name='scale_pos_weight'), # change 16.0 to n_negative / n_poistive | |
Real(0.0, 100, name='bagging_temperature'), | |
Real(0.0, 100, name='random_strength'), | |
Real(0.0, 100, name='reg_lambda')] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment