ce-classification
Handle CE classification workflows for binary and multiclass prediction semantics and class-focused explanation behavior.
npx skills add majiayu000/claude-skill-registry --skill ce-classification --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 Classification You are working with a classification task (binary or multiclass). CE provides calibrated probability bounds $[p_{low}, p_{high}]$ using Venn-Abers calibration. ## Prediction Semantics (Venn-Abers) The `predict` and `predict_proba` methods return calibrated class assignments and probabilities. - **Binary**: Rules and probabilities always refer to the **positive class** (index 1). - **Multiclass**: - `predict()`: Returns the class label with the highest calibrated probability. - `predict_proba()`: Returns a full probability distribution (summing to 1). - **Intervals**: For any class probability $p$, the calibrated interval $[p_{low}, p_{high}]$ guarantees that $p_{low} \le p \le p_{high}$ (ADR-021 invariant). ```python # Multiclass: explain the PREDICTED class (default) # If the model predicts 'Class 2', rules explain 'Why Class 2?' explanations = explainer.explain_factual(X_test) ``` ## Explaining All Classes (`multi_labels_enabled`) By default, CE explains the **predicted class**. To explain **all classes** (e.g., for contrastive analysis or true multi-label tasks), use `multi_labels_enabled=True`. ```python # Returns a MultiClassCalibratedExplanations object m
- Prediction Semantics (Venn-Abers)
- Explaining All Classes (multilabelsenabled)
- MultiClassCalibratedExplanations API
- Task-Specific Config
- Contributor & Agent Checklist
What does the ce-classification skill do?
Handle CE classification workflows for binary and multiclass prediction semantics and class-focused explanation behavior.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ce-classification --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.
