Skip to content

Commit

Permalink
DOC: add decision trees (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin-Laurent committed Dec 29, 2024
1 parent aa6e027 commit 6e09d78
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/choosing_the_right_algorithm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
############################################
Choosing the right algorithm
############################################

Following are simple decision trees to help you you getting started quickly with MAPIE.

Reality is of course a bit more complex, so feel free to browse the documentation for nuanced explanations.


1. Regression
==================================

.. image:: images/decision_tree_regression.png
:align: center

2. Classification
=====================

.. image:: images/decision_tree_classification.png
:align: center
10 changes: 10 additions & 0 deletions doc/choosing_the_right_algorithm_classification.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
############################################
Choosing the right algorithm
############################################

Following is a simple decision tree to help you you getting started quickly with MAPIE.

Reality is of course a bit more complex, so feel free to browse the documentation for nuanced explanations.

.. image:: images/decision_tree_classification.png
:align: center
10 changes: 10 additions & 0 deletions doc/choosing_the_right_algorithm_regression.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
############################################
Choosing the right algorithm
############################################

Following is a simple decision trees to help you you getting started quickly with MAPIE.

Reality is of course a bit more complex, so feel free to browse the documentation for nuanced explanations.

.. image:: images/decision_tree_regression.png
:align: center
Binary file added doc/images/decision_tree_classification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/decision_tree_regression.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

quick_start
split_cross_conformal
choosing_the_right_algorithm
v1_migration_guide

.. toctree::
Expand Down
1 change: 1 addition & 0 deletions doc/index_classification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Prediction sets (classification)
.. toctree::
:maxdepth: 2

choosing_the_right_algorithm_classification
examples_classification/4-tutorials/plot_main-tutorial-classification
examples_classification/4-tutorials/plot_crossconformal
examples_classification/index
Expand Down
1 change: 1 addition & 0 deletions doc/index_regression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Prediction intervals (regression)
.. toctree::
:maxdepth: 2

choosing_the_right_algorithm_regression
examples_regression/4-tutorials/plot_main-tutorial-regression
examples_regression/4-tutorials/plot_cqr_tutorial
examples_regression/4-tutorials/plot_ts-tutorial
Expand Down

0 comments on commit 6e09d78

Please sign in to comment.