: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
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
Classification
--------------
Tutorials for modeling uncertainty in classification tasks.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Classification/images/thumb/sphx_glr_tutorial_classification_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Classification_tutorial_classification.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Classification_tutorial_distribution_shift.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Classification_tutorial_evidential_classification.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Classification_tutorial_ood_detection.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Classification_tutorial_pe_cifar10.py`
.. 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
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Regression/images/thumb/sphx_glr_tutorial_der_cubic_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Regression_tutorial_der_cubic.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Regression_tutorial_probabilistic_regression.py`
.. raw:: html
Deep Probabilistic Regression
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Regression/images/thumb/sphx_glr_tutorial_regression_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Regression_tutorial_regression.py`
.. 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
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_conformal_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Post_Hoc_Methods_tutorial_conformal.py`
.. raw:: html
Conformal Prediction on CIFAR-10 with TorchUncertainty
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Post_Hoc_Methods/images/thumb/sphx_glr_tutorial_scaler_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Post_Hoc_Methods_tutorial_scaler.py`
.. 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
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Bayesian_Methods/images/thumb/sphx_glr_tutorial_bayesian_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Bayesian_Methods_tutorial_bayesian.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Bayesian_Methods_tutorial_mc_batch_norm.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Bayesian_Methods_tutorial_mc_dropout.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Bayesian_Methods_tutorial_muad_mc_drop.py`
.. 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
.. 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:
:ref:`sphx_glr_auto_tutorials_Ensemble_Methods_tutorial_from_de_to_pe.py`
.. 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
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Segmentation/images/thumb/sphx_glr_tutorial_muad_deep_en_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Segmentation_tutorial_muad_deep_en.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Segmentation_tutorial_muad_packed.py`
.. 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:
:ref:`sphx_glr_auto_tutorials_Segmentation_tutorial_muad_seg.py`
.. 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
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_tutorials/Data_Augmentation/images/thumb/sphx_glr_tutorial_corruption_thumb.png
:alt:
:ref:`sphx_glr_auto_tutorials_Data_Augmentation_tutorial_corruption.py`
.. raw:: html
Corrupting Images with TorchUncertainty to Benchmark Robustness
.. 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 `_