GitHunt

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/

Languages

Python99.6%Just0.4%

Contributors

BSD 3-Clause "New" or "Revised" License
Created July 24, 2025
Updated January 5, 2026
KhiopsLab/khalib | GitHunt