Skip to content
Back to skills

Ce Integration Compare

ASecurity

Guide CE integration with SHAP and LIME, compare explanation outputs, and configure the calibrated-explanations integration adapters.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythondebugging

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill ce-integration-compare --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ce Integration Compare?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ce Integration Compare
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ce-integration-compare-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-ce-integration-compare-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ce-integration-compare
description: >
  Guide CE integration with SHAP and LIME, compare explanation outputs, and
  configure the calibrated-explanations integration adapters.
---

# CE Integration Compare

You are helping users work with the CE integrations for SHAP and LIME.

## Required references

- `src/calibrated_explanations/integrations/shap.py`
- `src/calibrated_explanations/integrations/lime.py`
- `src/calibrated_explanations/integrations/__init__.py`

## Use this skill when

- A user asks how to use CE with SHAP or LIME.
- Comparing CE explanations with SHAP/LIME outputs.
- Configuring or debugging the integration adapters.
- Understanding the differences between calibrated explanations and
  feature-attribution methods.

## Key concepts

### CE vs. feature attribution methods

Calibrated explanations provide **rule-based explanations with calibrated
uncertainty intervals**. SHAP and LIME provide **feature attribution values**
(importance scores per feature). The approaches are complementary:

- CE rules tell you *which conditions* justify a prediction with calibrated
  confidence.
- SHAP/LIME tell you *how much* each feature contributed to the prediction.

### Integration architecture

The integration modules provide adapter classes that:
1. Wrap a fitted CE explainer to produce SHAP-compatible or LIME-compatible
   outputs.
2. Allow side-by-side comparison of CE rules with feature attributions.
3. Preserve CE calibration semantics while exposing familiar interfaces.

## Workflow

1. **Fit and calibrate a CE pipeline first** (use `ce-pipeline-builder`).
2. **Import the integration adapter**:
   ```python
   from calibrated_explanations.integrations.shap import CESHAPAdapter
   # or
   from calibrated_explanations.integrations.lime import CELIMEAdapter
   ```
3. **Generate comparison explanations** using both CE and the adapter.
4. **Interpret the results**: CE rules for conditions, SHAP/LIME values for
   attribution magnitudes.

## Constraints

- Always fit and calibrate the CE pipeline before using integration adapters.
- Integration adapters are convenience wrappers; the underlying CE explainer
  must be properly configured.
- Do not use integration adapters as replacements for CE explanations; they
  are comparison tools.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.