Tree Utilities#
adaXT implements several methods that can be used to analyze and visualize fitted decision trees.
All methods are available in the decision tree module.
DecisionTreePlotter #
plot_tree #
Generates the tree in a subplot of plt. To show the plot, the user needs to call matplotlib.pyplot.show().
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tree |
DecisionTree
|
the tree to plot |
required |