Created
February 23, 2018 11:57
-
-
Save StevenReitsma/9389e7df6ab4d6aa2f7f805588ea3fb4 to your computer and use it in GitHub Desktop.
Blogpost-Heineken11
This file contains 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 sklearn.multioutput import MultiOutputRegressor | |
import lightgbm as lgb | |
gbm = lgb.LGBMRegressor( | |
objective=neg_sq_loss, | |
n_jobs=-1, | |
num_leaves=51, | |
learning_rate=0.02, | |
n_estimators=500, | |
categorical_feature=[0, 1, 2] | |
) | |
multi = MultiOutputRegressor(gbm, n_jobs=-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment