ce-factual-explain
Generate factual CE explanations and select the correct guarded versus standard factual workflow.
npx skills add majiayu000/claude-skill-registry --skill ce-factual-explain --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# CE Factual Explain You are producing factual calibrated explanations rules that explain *why* the current prediction is what it is. The CE-First pipeline (fit calibrate) is a prerequisite. If not in place, invoke `ce-pipeline-builder` first. For all post-generation interaction (plot, narrative, `add_conjunctions`, `filter_rule_sizes`, `filter_features`) see `ce-explain-interact`. --- ## Two Entry Points ### Standard path ```python explanations = explainer.explain_factual(X_query) ``` ### Explaining all classes (multiclass) ```python # Returns a MultiClassCalibratedExplanations for all class labels multi_exps = explainer.explain_factual(X_query, multi_labels_enabled=True) ``` ### Guarded path (production / unknown input distribution) ```python explanations = explainer.explain_guarded_factual(X_query) ``` See `references/adr-032-guarded-semantics.md` for the full guarded semantics. Use the guarded variant when: - Processing user-submitted data with unknown distribution. - Building API endpoints that accept arbitrary inputs. - Calibration set coverage is limited. --- ## When to Use Standard vs Guarded | Scenario | API | |---|---| | Training / development / research | `explain_factua
- Two Entry Points
- Standard path
- Explaining all classes (multiclass)
- Guarded path (production / unknown input distribution)
- When to Use Standard vs Guarded
- Output Type: FactualExplanation
- Prediction Dict Structure
- Factual-Specific Rule Access
- Factual Conjunctions (Quick Reference)
- Factual Plot (Quick Reference)
- Factual Narrative (Quick Reference)
- Guarded Audit API
- Out of Scope
- Evaluation Checklist
What does the ce-factual-explain skill do?
Generate factual CE explanations and select the correct guarded versus standard factual workflow.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ce-factual-explain --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
