Skip to content

Instantly share code, notes, and snippets.

@StevenReitsma
Created February 23, 2018 11:57
Show Gist options
  • Save StevenReitsma/9389e7df6ab4d6aa2f7f805588ea3fb4 to your computer and use it in GitHub Desktop.
Save StevenReitsma/9389e7df6ab4d6aa2f7f805588ea3fb4 to your computer and use it in GitHub Desktop.
Blogpost-Heineken11
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