Examples concerning the sklearn.tree module.
sklearn.tree
Decision Tree Regression
Plot the decision surface of decision trees trained on the iris dataset
Post pruning decision trees with cost complexity pruning
Understanding the decision tree structure
© 2007–2025 The scikit-learn developersLicensed under the 3-clause BSD License. https://scikit-learn.org/1.6/auto_examples/tree/index.html