GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - euranova/estimating_eces: Reproducibility content for the paper Estimating Expected Calibration Errors

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
explicalib
explicalib
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
figures.ipynb
figures.ipynb
 
 
requirements.txt
requirements.txt
 
 
script_classwise.py
script_classwise.py
 
 
script_confidence.py
script_confidence.py
 
 

Repository files navigation

Estimating Expected Calibration Errors

This repository allows the reproducibility of the results reported in the paper "Estimating Expected Calibration Errors". A complete production-ready python module is currently being developped with a more friendly API, and will be available soon for day-to-day use of the tools introduced within the paper.

Setup

All this code has been tested with Python version 3.6.9. It should also work on more recent Python3 versions. Checking your version of Python can be achieved on the terminal using:

$ python3 -V
Python 3.6.9

Start by opening a terminal where you want to clone the repository, and use:

$ git clone https://github.com/euranova/estimating_eces.git

Now that it is done, let's create, activate and populate a virtual environment containing the relevant dependences:

$ cd estimating_eces
$ python3 -m virtualenv venv
$ source venv/bin/activate
$ (venv) pip install -r requirements.txt

You are now ready to run the scripts located in this repository !

Running the code to reproduce the graphs visible in the paper

Figures

All figures are generated within the notebook figures.ipynb. You can open it with jupyter notebook directly from within the virtual environment using:

$ (venv) jupyter notebook

and selecting it on the newly opened interface.

Please note that the last figure can only appear if the experimental setups have been run, which can be done following the instructions in the next section:

Running the experimental setup

To get the results necessary to get the last figure of the paper, one needs to run the two scripts:

$ (venv) python script_classwise.py
$ (venv) python script_confidence.py

About

Reproducibility content for the paper Estimating Expected Calibration Errors

Resources

Readme
MIT license
Activity
Custom properties

Stars

4 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.