Created
August 29, 2018 17:30
-
-
Save jkotra/bf947c47965badfbf986e2d9192a1a9a to your computer and use it in GitHub Desktop.
taxi-xgb
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
parms = {'max_depth': 8,'learning_rate':0.07, 'eta': 0.03, 'subsample': 1, 'colsample_bytree': 0.8, 'objective': 'reg:linear', 'eval_metric': 'rmse', 'silent': 0} | |
reg = xgb.XGBRegressor(parms=parms,n_jobs=6) | |
reg = xgb.train(parms, dtrain, num_boost_round=500) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment