Skip to content

v0.1.11

Choose a tag to compare

@valeman valeman released this 04 Dec 19:41
· 4 commits to main since this release
7293ddd

Highlights

  • Conformal Risk Control & Learn Then Test (pyconformal.risk): Pure-NumPy ConformalRiskControl (Angelopoulos et al., ICLR 2024) for exact finite-sample expected-risk control of bounded monotone losses in [0, B], and LearnThenTest (Angelopoulos et al., JACM 2025) for high-probability 1 - delta simultaneous control of arbitrary (including non-monotone) losses with exact log-space Binomial, Hoeffding, Bentkus, and Hoeffding–Bentkus p-values and Bonferroni, Holm, and Fixed-Sequence FWER control.
  • Conformal Object Detection (pyconformal.detection): Zero-dependency ConformalObjectDetector on (N, 4) [x1, y1, x2, y2] bounding boxes with exact finite-sample containment guarantees across four modes (additive, multiplicative, additive_coordinate, multiplicative_coordinate), safe min_size clamping, Mondrian groups=, clip_bounds=, and contains / box_area / box_iou helpers.
  • Conformal Anomaly Detection & Exchangeability Martingales (pyconformal.anomaly): ConformalAnomalyDetector (exact & smoothed conformal p-values, Mondrian groups=, Benjamini–Hochberg conformal FDR control via bh_select) and ConformalMartingale (Simple Jumper, Power, and Mixture online exchangeability test martingales in log-space with Ville's inequality all-time false-alarm control).
  • Production hardening & diagnostics: PEP 561 py.typed marker; two-level _SortedBlocks in SortedWindow (2.3× faster at T=30,000); four pure-NumPy diagnostics in pyconformal.evaluation (size_stratified_coverage, rolling_coverage, reliability_curve, pit_calibration); sklearn.base.clone compliance fix for DtACI/AgACI; full pickle/deepcopy/clone test suite across all public classes; CI fatal-error ruff lint job.
  • Documentation overhaul: 5-tab navigation, landing Grid Cards & Mermaid flowchart, exact total/per-category method counts (61 estimator classes, 85 public exports), reproducible pure-NumPy SVG comparison charts, KaTeX math rendering, standardised Guarantee callouts, llms.txt, and two runnable Open-in-Colab quickstart notebooks.

Full changelog: CHANGELOG.md