Dear all,
I am new in machine learning and used XGBoost classifier, while plotting the tree, I found 2 codes:
xgb.plot_tree(model, num_trees=5)
xgb.plot_tree(model)
What is the difference between both codes for plotting the tree?
By searching, I found that the first code for plotting the 5th boosted tree, but I couldn't understand.
Thanks in advance
Thanks a lot for this fruitful and helpful answer.