:orphan:
Tutorials
=========
On this page, you will find tutorials and insights on TorchUncertainty. Don't
hesitate to open an issue if you have any question or suggestion for tutorials.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
Classification
--------------
Tutorials for modeling uncertainty in classification tasks.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_classification_thumb.png
:alt:
:doc:`/auto_tutorials/Classification/tutorial_classification`
.. raw:: html
Training a LeNet for Image Classification with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_distribution_shift_thumb.png
:alt:
:doc:`/auto_tutorials/Classification/tutorial_distribution_shift`
.. raw:: html
Evaluating Model Performance Under Distribution Shift with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_evidential_classification_thumb.png
:alt:
:doc:`/auto_tutorials/Classification/tutorial_evidential_classification`
.. raw:: html
Deep Evidential Classification on a Toy Example
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_ood_detection_thumb.png
:alt:
:doc:`/auto_tutorials/Classification/tutorial_ood_detection`
.. raw:: html
Out-of-distribution detection with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_pe_cifar10_thumb.png
:alt:
:doc:`/auto_tutorials/Classification/tutorial_pe_cifar10`
.. raw:: html
From a Standard Classifier to a Packed-Ensemble
.. thumbnail-parent-div-close
.. raw:: html
Regression with Uncertainty
---------------------------
Tutorials for modeling predictive uncertainty in regression tasks.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Regression/images/thumb/sphx_glr_tutorial_der_cubic_thumb.png
:alt:
:doc:`/auto_tutorials/Regression/tutorial_der_cubic`
.. raw:: html
Deep Evidential Regression on a Toy Example
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Regression/images/thumb/sphx_glr_tutorial_probabilistic_regression_thumb.png
:alt:
:doc:`/auto_tutorials/Regression/tutorial_probabilistic_regression`
.. raw:: html
Deep Probabilistic Regression
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Regression/images/thumb/sphx_glr_tutorial_regression_thumb.png
:alt:
:doc:`/auto_tutorials/Regression/tutorial_regression`
.. raw:: html
Training an MLP for Tabular Regression with TorchUncertainty
.. thumbnail-parent-div-close
.. raw:: html
Post-hoc Methods
----------------
Tutorials focused on improving model with post-hoc techniques.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_conformal_thumb.png
:alt:
:doc:`/auto_tutorials/Post_Hoc_Methods/tutorial_conformal`
.. raw:: html
Conformal Prediction on CIFAR-10 with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_deup_thumb.png
:alt:
:doc:`/auto_tutorials/Post_Hoc_Methods/tutorial_deup`
.. raw:: html
DEUP: Direct Epistemic Uncertainty Prediction with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_scalers_thumb.png
:alt:
:doc:`/auto_tutorials/Post_Hoc_Methods/tutorial_scalers`
.. raw:: html
Histogram Binning, Isotonic Regression, and BBQ tutorial
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_temperature_thumb.png
:alt:
:doc:`/auto_tutorials/Post_Hoc_Methods/tutorial_temperature`
.. raw:: html
Improve Top-label Calibration with Temperature Scaling
.. thumbnail-parent-div-close
.. raw:: html
Bayesian Methods
-----------------
Tutorials for Bayesian approaches to uncertainty estimation.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Bayesian_Methods/images/thumb/sphx_glr_tutorial_bayesian_thumb.png
:alt:
:doc:`/auto_tutorials/Bayesian_Methods/tutorial_bayesian`
.. raw:: html
Training a Bayesian Neural Network in 20 seconds
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Bayesian_Methods/images/thumb/sphx_glr_tutorial_mc_batch_norm_thumb.png
:alt:
:doc:`/auto_tutorials/Bayesian_Methods/tutorial_mc_batch_norm`
.. raw:: html
Training a LeNet with Monte Carlo Batch Normalization
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Bayesian_Methods/images/thumb/sphx_glr_tutorial_mc_dropout_thumb.png
:alt:
:doc:`/auto_tutorials/Bayesian_Methods/tutorial_mc_dropout`
.. raw:: html
Training a LeNet with Monte-Carlo Dropout
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Bayesian_Methods/images/thumb/sphx_glr_tutorial_muad_mc_drop_thumb.png
:alt:
:doc:`/auto_tutorials/Bayesian_Methods/tutorial_muad_mc_drop`
.. raw:: html
Monte Carlo Dropout for Semantic Segmentation on MUAD
.. thumbnail-parent-div-close
.. raw:: html
Ensemble Methods
-----------------
Tutorials for ensemble-based techniques to improve uncertainty estimation.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Ensemble_Methods/images/thumb/sphx_glr_tutorial_from_de_to_pe_thumb.png
:alt:
:doc:`/auto_tutorials/Ensemble_Methods/tutorial_from_de_to_pe`
.. raw:: html
Improved Ensemble parameter-efficiency with Packed-Ensembles
.. thumbnail-parent-div-close
.. raw:: html
Segmentation
---------------------------
Tutorials for modeling uncertainty in Segmentation tasks.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Segmentation/images/thumb/sphx_glr_tutorial_muad_deep_en_thumb.png
:alt:
:doc:`/auto_tutorials/Segmentation/tutorial_muad_deep_en`
.. raw:: html
Deep ensembles Segmentation Tutorial using Muad Dataset
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Segmentation/images/thumb/sphx_glr_tutorial_muad_packed_thumb.png
:alt:
:doc:`/auto_tutorials/Segmentation/tutorial_muad_packed`
.. raw:: html
Packed ensembles Segmentation Tutorial using Muad Dataset
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Segmentation/images/thumb/sphx_glr_tutorial_muad_seg_thumb.png
:alt:
:doc:`/auto_tutorials/Segmentation/tutorial_muad_seg`
.. raw:: html
Segmentation Tutorial using Muad Dataset
.. thumbnail-parent-div-close
.. raw:: html
Data Augmentation
-----------------
Tutorials illustrating data augmentation functionnalities in Torch-Uncertainty.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Data_Augmentation/images/thumb/sphx_glr_tutorial_corruption_thumb.png
:alt:
:doc:`/auto_tutorials/Data_Augmentation/tutorial_corruption`
.. raw:: html
Corrupting Images with TorchUncertainty to Benchmark Robustness
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Data_Augmentation/images/thumb/sphx_glr_tutorial_mixup_ensembles_mixupmp_thumb.png
:alt:
:doc:`/auto_tutorials/Data_Augmentation/tutorial_mixup_ensembles_mixupmp`
.. raw:: html
Mixup and MixupMP Training & Ensembles with TorchUncertainty
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/auto_tutorials/Classification/index.rst
/auto_tutorials/Regression/index.rst
/auto_tutorials/Post_Hoc_Methods/index.rst
/auto_tutorials/Bayesian_Methods/index.rst
/auto_tutorials/Ensemble_Methods/index.rst
/auto_tutorials/Segmentation/index.rst
/auto_tutorials/Data_Augmentation/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: auto_tutorials_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_tutorials_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_