:html_theme.sidebar_secondary.remove:


.. _tree_ref:


sklearn.tree
============

.. automodule:: sklearn.tree


**User guide.** See the :ref:`tree` section for further details.









.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  DecisionTreeClassifier
  DecisionTreeRegressor
  ExtraTreeClassifier
  ExtraTreeRegressor


.. _tree_ref-exporting:



Exporting
---------




.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  export_graphviz
  export_text


.. _tree_ref-plotting:



Plotting
--------




.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  plot_tree
