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

Uploaded Source

File details

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

File metadata

  • Download URL: khalib-0.4.tar.gz
  • Upload date:
  • Size: 15.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.4.tar.gz
Algorithm Hash digest
SHA256 962ed6426379a534dbe3c13e0629f14e92b79505730d016064c265be54feba8a
MD5 c3162645659a5f3d85a6159d1c690a10
BLAKE2b-256 ea2b72c1f1bd204fa45e0882dc14611cdcd766f6c36d669b4bfe9b7af0fd55cd

See more details on using hashes here.

Provenance

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