Relative Content

Tag Archive for machine-learningscikit-learnclassificationdecision-tree

Plot a decision tree from HistGratientBoostingClassifier

I have a HistGradientBoostingClassifier model and I want to plot one or more of its decision trees, nevertheless I can’t manage to find a native function to do it, I can access the Tree predictor objects and thus it’s nodes, but in order to plot it into the sklearn.tree.plot_tree function it needs to be a DecisionTree type object