calibration-conformal

Calibrate temperature scaling and conformal prediction artifacts for detector abstention.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/rilical/OpenWorld-AI-Image-Detection --skill calibration-conformal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: calibration-conformal
Source: https://github.com/rilical/OpenWorld-AI-Image-Detection/tree/main/.agents/skills/calibration-conformal
Command: npx skills add https://github.com/rilical/OpenWorld-AI-Image-Detection --skill calibration-conformal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance and tooling to implement or adjust temperature scaling, split conformal, Mondrian conformal, and general abstention policies for open-world detectors, ensuring calibrated decision making and reliable abstention behavior.

Core Features & Use Cases

  • Calibration workflow: fit, serialize, and apply temperature scaling and nonconformity scores for conformal prediction.
  • Abstention policy tooling: support for forced decision, threshold-based, and conformal abstention in inference.
  • Use Case: calibrate a detector on a held-out split and generate temperature.json and conformal.json artifacts for reuse.

Quick Start

Fit calibration on a held-out dataset, compute conformal thresholds, and serialize artifacts for reuse in evaluation and inference.

Frequently Asked Questions about calibration-conformal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calibrate temperature scaling for an open-world detector?

Calibrate temperature scaling by fitting the scaling parameter on a held-out dataset, separating the calibration logic from the training loop to ensure reliable decision making for open-world detectors.

What is conformal prediction and when do I need Mondrian conformal methods?

Conformal prediction generates nonconformity scores to establish calibrated thresholds for abstention. Mondrian conformal methods provide distribution-free guarantees when data exhibits heterogeneity or shifts across different groups.

How do I serialize calibration artifacts like temperature.json for inference?

Serialize calibration artifacts by computing temperature scaling parameters and conformal thresholds on held-out data, then saving them as temperature.json and conformal.json files for reuse during evaluation and inference.

What abstention policies can I use for detector inference?

Abstention policies for detector inference include forced decision, threshold-based abstention, and conformal abstention. These policies determine when a detector should withhold predictions to maintain calibrated decision making.

Does this calibration workflow require separating calibration logic from training loops?

Yes, the calibration workflow enforces strict separation of calibration logic from training loops. This separation ensures calibration is performed on held-out data, preventing data leakage and maintaining reliable abstention behavior.

What is the best way to compute conformal thresholds on a held-out dataset?

The best way to compute conformal thresholds is using split conformal or Mondrian conformal methods on a held-out dataset, generating nonconformity scores that can be serialized into conformal.json artifacts for inference.