xgb.train
is the low level API to train an xgboost
model in Python.
- When I use
XGBClassifier
, which is a wrapper and callsxgb.train
when a model is trained, I can print theXGBClassifier
object and the hyperparameters are printed. - When using
xgb.train
I have no idea how to check the parameters after training
Code:
bst = xgb.train(params, dtrain)
bst.params # does not work!