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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for khalib-0.3.tar.gz
Algorithm Hash digest
SHA256 09dbe3817122c7fa91363359c97ae2773f5991b2b2ac59c07d35bc6b78ca2cf9
MD5 ae4403ab6a1647d00c4f8438c70d2031
BLAKE2b-256 81637d63f6a744c31085c6fc489ba4ece630bff64c533eb134831761229342e8

See more details on using hashes here.

Provenance

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