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.2.tar.gz (7.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for khalib-0.2.tar.gz
Algorithm Hash digest
SHA256 ff8c36dbc0cd6a3038497610b9c7cb67344a6cb0ded015ae9f804dfdf8f1964c
MD5 3c6b89bacb38c32138c27fffad03f687
BLAKE2b-256 734865f27a035a7970a79d8bae92ba9f7538ddf3493b72557bc926da0874efac

See more details on using hashes here.

Provenance

The following attestation bundles were made for khalib-0.2.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