markus93 / NN_calibration

Calibration of Convolutional Neural Networks
MIT License
156 stars 41 forks source link
calibration convolutional-neural-networks

Calibration of Neural Networks

Introduction

This repository contains all scripts needed to train neural networks (ResNet, DenseNet, DAN etc) and to calibrate the probabilities. These networks are trained on 4 different datasets and the model weights and output logits are available for use in this repository.

Structure

Structure of the repository:

Datasets

Following datasets were used:

Models

Following models were used and trained:

The hyperparameters and data preparation suggested by the authors of the papers were used to train the models, except for LeNet and DAN.

Calibration

Following calibration methods were used:

Citation

If you find the work relevant to your research, please cite:

@article{kull2019beyond,
  title={Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibration},
  author={Kull, Meelis and Perello-Nieto, Miquel and K{\"a}ngsepp, Markus and Song, Hao and Flach, Peter and others},
  journal={arXiv preprint arXiv:1910.12656},
  year={2019}
}

Author

Markus Kängsepp, University of Tartu