Skip to main content

khalib

khalib is a classifier probability calibration package powered by the Khiops AutoML suite.

Features

  • KhalibClassifier: A scikit-learn estimator to calibrate classifiers with a similar interface as CalibratedClassifierCV.
  • calibration_error : A function to estimate the Estimated Calibration Error (ECE).
  • build_reliability_diagram : A function to build a reliability diagram.

These features are based on Khiops's non-parametric supervised histograms, so there is no need to specify the number and width of the bins, as they are automatically estimated from data.

See the documentation for more information.

Installation

pip install khalib

Documentation

See https://khiopslab.github.io/khalib/

Metadata

Release files for khalib 0.6

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

Source distribution (sdist)

Source distribution for khalib 0.6
File Size Uploaded
khalib-0.6.tar.gz 15.5 kB Details

Release files / khalib-0.6.tar.gz

Download URL khalib-0.6.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5fdeb2717186eb96af59601132d56b86220bb24020f20722af3f360c0faa7186
BLAKE2b-256 checksum
How to use checksums
4d564ac9ef28bdbbbbf12e898c501f2314c7db33a6837f859688e8af7d7b9e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

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