Can XGBoost create a single decision tree?

Hi there,

I’m wondering whether it’s possible to use XGBoost to create just one decision tree. I’m looking to create a single tree that is displayable to the end user, similar to what you would do using scikit-learn DecisionTreeRegressor.

Using n_estimators=1 yields really bad results, so I don’t want to use that approach.

Would appreciate any response!