'Xgboost single tree split history plot

See CART performance per node plot

I used other CART package which produces the plot of performance per each added node. It's like x-axis for the number of nodes and y-axis is the log loss for binary target.
Just wondered if xgboost has a similar functionality for a single tree or the tree specified. I know xgboost has the similar plotting functionality on each training epoch. I need that on a single tree with adding/deleting nodes.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source