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

Uploaded Source

File details

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

File metadata

  • Download URL: khalib-0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5f0e36dbe8a0f6b27686dcf9d2d5ddd9e91b84a26c6613f1b1538a4e7961b50a
MD5 d5da96b8e8f347539f37e8eb4ee8f1be
BLAKE2b-256 1ad5b7040e2b4c98120273cccc0540e822f20527c98f365222c2bedde83ab5a0

See more details on using hashes here.

Provenance

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