Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Xall = obsl.merge(model,how='inner',on='ISO8601')
Yall = Xall['value'] - Xall['NO2']
...
train = xgb.DMatrix(data=Xtrain,label=Ytrain)
params = {'booster':'gbtree','tree_method':'gpu_hist'}
bst = xgb.train(params,train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment