Skip to content

MTN: classification examples and notebooks reorganisation #689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/index_binary_classification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ The binary classification case
.. toctree::
:maxdepth: 2

examples_classification/4-tutorials/plot_main-tutorial-binary-classification
examples_classification/2-advanced-analysis/plot_main-tutorial-binary-classification
theoretical_description_binary_classification
3 changes: 0 additions & 3 deletions doc/index_classification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ Prediction sets (classification)
:maxdepth: 2

choosing_the_right_algorithm_classification
examples_classification/4-tutorials/plot_main-tutorial-classification
examples_classification/4-tutorials/plot_crossconformal
examples_classification/index
notebooks_classification
theoretical_description_classification
index_binary_classification
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
======================================================
Comparing prediction sets on a two-dimensional dataset
LAC and APS methods explained
======================================================

In this tutorial, we compare the prediction sets estimated by
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
==================================
Cross-conformal for classification
==================================
=========================================
Cross conformal classification explained
=========================================

In this tutorial, we estimate the impact of the
training/conformalization split on the prediction sets and
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
===========================
Tutorial for set prediction
===========================
============================================================
Set prediction example in the binary classification setting
============================================================

In this example, we propose set prediction for binary classification
estimated by :class:`~mapie_v1.classification.SplitConformalClassifier` with the "lac"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
================================================
Reproducing Example 7 from Sadinle et al. (2019)
================================================
=======================================================================================
Least Ambiguous Set-Valued Classifiers with Bounded Error Levels, Sadinle et al. (2019)
=======================================================================================

We use :class:`~mapie_v1.classification.SplitConformalClassifier` to reproduce
Example 7 from Sadinle et al. (2019).
Expand Down
8 changes: 8 additions & 0 deletions examples/classification/4-other-notebooks/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _classification_examples_4:

4. Other notebooks
--------------------

This section lists a series of Jupyter notebooks hosted on the MAPIE Github repository that can be run on Google Colab:

- `Deep learning with MAPIE on the Cifar10 dataset <https://github.com/scikit-learn-contrib/MAPIE/tree/master/notebooks/classification/Cifar10.ipynb>`_
6 changes: 0 additions & 6 deletions examples/classification/4-tutorials/README.rst

This file was deleted.

This file was deleted.

6 changes: 4 additions & 2 deletions examples/classification/README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.. _classification_examples:

Classification examples
=======================
All classification examples
============================

Following is a collection of notebooks demonstrating how to use MAPIE in classification.
Loading
Loading