Skip to content

Commit 04a4555

Browse files
authored
Merge pull request #211 from scikit-learn-contrib/doc-tutorials-in-sections
Add tutorials in documentation sections
2 parents 8e36db4 + e0847fe commit 04a4555

File tree

22 files changed

+1476
-323
lines changed

22 files changed

+1476
-323
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
History
33
=======
44

5+
0.4.2 (XXXX-XX-XX)
6+
------------------
7+
8+
* Add tutorial for time series
9+
* Convert existing tutorials in .py
10+
511
0.4.1 (2002-06-27)
612
------------------
713

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ lint:
44
flake8 . --exclude=doc
55

66
type-check:
7-
mypy mapie examples
7+
mypy mapie
88

99
tests:
1010
pytest -vs --doctest-modules mapie

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. -*- mode: rst -*-
22
3-
|GitHubActions|_ |Codecov|_ |ReadTheDocs|_ |License|_ |PythonVersion|_ |PyPi|_ |Conda|_ |Release|_ |Commits|_
3+
|GitHubActions|_ |Codecov|_ |ReadTheDocs|_ |License|_ |PythonVersion|_ |PyPi|_ |Conda|_ |Release|_ |Commits|_ |DOI|_
44

55
.. |GitHubActions| image:: https://github.com/scikit-learn-contrib/MAPIE/actions/workflows/test.yml/badge.svg
66
.. _GitHubActions: https://github.com/scikit-learn-contrib/MAPIE/actions
@@ -29,6 +29,9 @@
2929
.. |Commits| image:: https://img.shields.io/github/commits-since/scikit-learn-contrib/mapie/latest/master
3030
.. _Commits: https://github.com/scikit-learn-contrib/MAPIE/commits/master
3131

32+
.. |DOI| image:: https://img.shields.io/badge/10.48550/arXiv.2207.12274-B31B1B.svg
33+
.. _DOI: https://arxiv.org/abs/2207.12274
34+
3235
.. image:: https://github.com/simai-ml/MAPIE/raw/master/doc/images/mapie_logo_nobg_cut.png
3336
:width: 400
3437
:align: center

doc/images/quickstart_1.png

0 Bytes
Loading

doc/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
:caption: REGRESSION
1414

1515
theoretical_description_regression
16-
tutorial_regression
16+
examples_regression/4-tutorials/plot_main-tutorial-regression
17+
examples_regression/4-tutorials/plot_ts-tutorial
1718
examples_regression/index
1819
notebooks_regression
1920

@@ -23,7 +24,8 @@
2324
:caption: CLASSIFICATION
2425

2526
theoretical_description_classification
26-
tutorial_classification
27+
examples_classification/4-tutorials/plot_main-tutorial-classification
28+
examples_classification/4-tutorials/plot_crossconformal
2729
examples_classification/index
2830
notebooks_classification
2931

doc/notebooks_classification.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ problems for computer vision settings that are too heavy to be included in the e
66
galleries.
77

88

9-
1. Estimating prediction sets on the Cifar10 dataset : `notebook <https://github.com/scikit-learn-contrib/MAPIE/tree/master/notebooks/classification/Cifar10.ipynb>`_
10-
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9+
1. Estimating prediction sets on the Cifar10 dataset : `notebook <https://github.com/scikit-learn-contrib/MAPIE/tree/master/notebooks/classification/Cifar10.ipynb>`_
10+
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

doc/theoretical_description_regression.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Given some target quantile :math:`\alpha` or associated target coverage level :m
2323
we aim at constructing a prediction interval :math:`\hat{C}_{n, \alpha}` for a new
2424
feature vector :math:`X_{n+1}` such that
2525

26-
.. math::
26+
.. math::
2727
P \{Y_{n+1} \in \hat{C}_{n, \alpha}(X_{n+1}) \} \geq 1 - \alpha
2828
2929
1. The "Naive" method

examples/classification/1-quickstart/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _classification_examples:
1+
.. _classification_examples_1:
22

33
1. Quickstart examples
44
----------------------

examples/classification/2-advanced-analysis/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _classification_examples:
1+
.. _classification_examples_2:
22

33
2. Advanced analysis
44
--------------------

examples/classification/2-advanced-analysis/plot_digits_classification.py

Lines changed: 0 additions & 304 deletions
This file was deleted.

0 commit comments

Comments
 (0)