Code examples of the last-layer Laplace approximation method used in "Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU Networks" paper (ICML 2020). See bnn_laplace.ipynb
and bnn_laplace_multiclass.ipynb
. Codes for reproducing the paper's results are in the paper
directory.
- PyTorch
- Scikit-learn
- Matplotlib
- Seaborn
- Numpy
- BackPack