Skip to main content

Downloads Open In Colab MIT license

pycalibrate

Pycalibrate is a Python package that allows access to the Calibrate tool. Calibrate is a visual analytics tool used to analyze model calibration in Jupyter Notebooks. Below, we show what Calibrate looks like in practice.

Installation

Installing pycalibrate is easy. Simply run:

pip install pycalibrate

You can also use pycalibrate on Colab, by copying our Example Colab Notebook.

You can also pip install directly from the repository by running pip install git+https://github.com/VIDA-NYU/pycalibrate

Usage

One can pycalibrate in just a few lines of code:

from pycalibrate import Calibrate

c = Calibrate(data=dataset) # `dataset` must be a Pandas dataframe

c.add_model(y_preds, y_labels, "ModelName") 
# y_preds is an n x k matrix of predictions
# y_labels is an n x k matrix of one-hot encoded labels

c.visualize() # Voila! 

Calibrate Tool

System screen

Need Help?

Need help? Open up an issue.

Metadata

Release files for pycalibrate 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycalibrate 0.0.3
File Size Uploaded
pycalibrate-0.0.3.tar.gz 80.4 kB Details

Release files / pycalibrate-0.0.3.tar.gz

Download URL pycalibrate-0.0.3.tar.gz
Size 80.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e8bf8649697a69058f24bd4a5e2aa1c8b7908365b303ca5a0a96fd419bc5b212
BLAKE2b-256 checksum
How to use checksums
5a7938ebbd78adc07d1c874b2c71548815de1358a164a06235ca0abce830cba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page