:orphan:
.. _risk_control_examples:
All risk control examples
=========================
Following is a collection of notebooks demonstrating how to use MAPIE for risk control.
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
1. Quickstart examples
----------------------
The following examples present the main functionalities of MAPIE through basic quickstart risk control problems.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/1-quickstart/images/thumb/sphx_glr_plot_risk_control_binary_classification_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_1-quickstart_plot_risk_control_binary_classification.py`
.. raw:: html
Precision control for a binary classifier
.. thumbnail-parent-div-close
.. raw:: html
2. Advanced analysis
--------------------
The following examples use MAPIE for discussing more complex risk control problems.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_risk_control_multi-label_classification_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_risk_control_multi-label_classification.py`
.. raw:: html
Control the risk of a multi-label classifier
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_risk_control_multi_parameter_binary_classification_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_risk_control_multi_parameter_binary_classification.py`
.. raw:: html
Control risk of a binary classifier with multiple prediction parameters
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_semantic_segmentation_recall_control_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_semantic_segmentation_recall_control.py`
.. raw:: html
Recall control for semantic segmentation
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_semantic_segmentation_precision_control_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_semantic_segmentation_precision_control.py`
.. raw:: html
Precision control for semantic segmentation
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_fwer_method_comparison_for_recall_guarantees_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_fwer_method_comparison_for_recall_guarantees.py`
.. raw:: html
Comparing FWER methods for risk control in binary classification
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_split_fixed_sequence_testing_fwer_method_for_precision_control_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_split_fixed_sequence_testing_fwer_method_for_precision_control.py`
.. raw:: html
Split Fixed Sequence Testing for Precision Control under Multiple Testing
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_multi_risk_control_binary_classification_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_multi_risk_control_binary_classification.py`
.. raw:: html
Control multiple risks of a binary classifier
.. raw:: html
.. only:: html
.. image:: /examples_risk_control/2-advanced-analysis/images/thumb/sphx_glr_plot_risk_control_llm_as_a_judge_thumb.png
:alt:
:ref:`sphx_glr_examples_risk_control_2-advanced-analysis_plot_risk_control_llm_as_a_judge.py`
.. raw:: html
Risk Control for LLM as a Judge with Abstention
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/examples_risk_control/1-quickstart/index.rst
/examples_risk_control/2-advanced-analysis/index.rst
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: examples_risk_control_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: examples_risk_control_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery