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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycalibrate-0.0.3.tar.gz | 80.4 kB | Without provenance | Details for pycalibrate-0.0.3.tar.gz |
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
|
Security for pycalibrate 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.