.. _sphx_glr_auto_examples_tree:
.. _tree_examples:
Decision Trees
--------------
Examples concerning the :mod:`sklearn.tree` module.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/tree/images/thumb/sphx_glr_plot_tree_regression_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tree_plot_tree_regression.py`
.. raw:: html
Decision Tree Regression
.. raw:: html
.. only:: html
.. image:: /auto_examples/tree/images/thumb/sphx_glr_plot_tree_regression_multioutput_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tree_plot_tree_regression_multioutput.py`
.. raw:: html
Multi-output Decision Tree Regression
.. raw:: html
.. only:: html
.. image:: /auto_examples/tree/images/thumb/sphx_glr_plot_iris_dtc_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tree_plot_iris_dtc.py`
.. raw:: html
Plot the decision surface of decision trees trained on the iris dataset
.. raw:: html
.. only:: html
.. image:: /auto_examples/tree/images/thumb/sphx_glr_plot_cost_complexity_pruning_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tree_plot_cost_complexity_pruning.py`
.. raw:: html
Post pruning decision trees with cost complexity pruning
.. raw:: html
.. only:: html
.. image:: /auto_examples/tree/images/thumb/sphx_glr_plot_unveil_tree_structure_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tree_plot_unveil_tree_structure.py`
.. raw:: html
Understanding the decision tree structure
.. raw:: html
.. toctree::
:hidden:
/auto_examples/tree/plot_tree_regression
/auto_examples/tree/plot_tree_regression_multioutput
/auto_examples/tree/plot_iris_dtc
/auto_examples/tree/plot_cost_complexity_pruning
/auto_examples/tree/plot_unveil_tree_structure