ce-mondrian-conditional

Configure and validate Mondrian conditional calibration for subgroup-specific uncertainty estimates.

78|15|Updated May 1, 2023
One-click install
npx skills add https://github.com/Moffran/calibrated_explanations --skill ce-mondrian-conditional
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-mondrian-conditional
Source: https://github.com/Moffran/calibrated_explanations/tree/main/.claude/skills/ce-mondrian-conditional
Command: npx skills add https://github.com/Moffran/calibrated_explanations --skill ce-mondrian-conditional

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Configure and validate Mondrian (conditional) calibration to expose subgroup-specific uncertainty estimates for fairness-aware deployments in calibrated explanations.

Core Features & Use Cases

  • Mondrian-based conditional calibration that partitions calibration data by group to produce per-bin uncertainty intervals.
  • Supports three bin specification options: inline bins, MondrianCategorizer for continuous features, and a callable mc.
  • Provides a clear evaluation workflow and references examples in references/mondrian_examples.md for hands-on guidance.

Quick Start

Load your dataset, choose a Mondrian binning approach (Inline bins, MondrianCategorizer, or mc callable), calibrate, and validate subgroup-specific uncertainty estimates.

Frequently Asked Questions about ce-mondrian-conditional

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

FAQPage Schema
What is subgroup-aware uncertainty calibration and when is it needed for model fairness?

Subgroup-aware uncertainty calibration partitions calibration data by group to produce per-bin uncertainty intervals, exposing subgroup-specific estimates needed for fairness-aware model deployments.

How do I configure Mondrian conditional calibration for subgrouped data?

To configure Mondrian conditional calibration, choose a binning approach, apply it to calibrate your subgrouped data, and validate the per-bin uncertainty estimates to ensure consistent group partitioning.

What bin specification options are supported for Mondrian calibration?

Mondrian calibration supports three bin specification options: inline bins for manual partitioning, MondrianCategorizer for continuous features, and a callable mc function for custom grouping logic.

Can I use different binning methods during the calibrate and explain phases?

No, you must maintain consistent use of bins between the calibrate and explain phases to ensure the subgroup-specific uncertainty estimates are accurately validated across deployment scenarios.

How do I validate per-bin uncertainty estimates across different subgroups?

You validate per-bin uncertainty by applying Mondrian-based calibration to your subgrouped data and evaluating the generated uncertainty intervals for each group using the provided evaluation workflow.

Does Mondrian conditional calibration work with continuous features?

Yes, Mondrian calibration handles continuous features by using the MondrianCategorizer bin specification option, which partitions continuous data into bins for conditional calibration.