Skip to main content

Classifier Calibration with Khiops

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

khalib-0.6.tar.gz (15.5 kB view details)

Uploaded Source

File details

Details for the file khalib-0.6.tar.gz.

File metadata

  • Download URL: khalib-0.6.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for khalib-0.6.tar.gz
Algorithm Hash digest
SHA256 5fdeb2717186eb96af59601132d56b86220bb24020f20722af3f360c0faa7186
MD5 aff6be0ef9904490df18a927941851d8
BLAKE2b-256 4d564ac9ef28bdbbbbf12e898c501f2314c7db33a6837f859688e8af7d7b9e8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for khalib-0.6.tar.gz:

Publisher: package.yaml on KhiopsLab/khalib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page