Examples and Tutorials

This section provides comprehensive examples and tutorials for using Calibre.

Available Examples

Basic Usage Examples

The Basic Usage Examples section covers:

  • Simple calibration workflows

  • Choosing the right calibration method

  • Evaluating calibration quality

  • Common use cases and patterns

Advanced Usage Examples

The Advanced Usage Examples section includes:

  • Multi-class calibration strategies

  • Handling imbalanced datasets

  • Cross-validation for calibration

  • Custom calibration pipelines

Performance Benchmarks

The Performance Benchmarks section provides:

  • Comparative analysis of different methods

  • Performance on various dataset types

  • Computational efficiency comparisons

  • Interactive Jupyter notebook examples

Jupyter Notebooks

Interactive examples are available in the repository’s examples/ directory:

  • benchmark.ipynb: Comprehensive performance comparison

  • validation/calibration_validation.ipynb: Validation examples

To run the notebooks locally:

git clone https://github.com/finite-sample/calibre.git
cd calibre
pip install -e ".[dev]"
jupyter notebook examples/