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