ce-data-preparation

Validate and preprocess mixed-type data with categorical encoding and mapping export.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data scientists dealing with mixed-type inputs, NaNs, and categorical features often face calibration and explanation challenges. This skill validates and preprocesses inputs to ensure reliable calibration and explanations within CE pipelines.

Core Features & Use Cases

  • Validate input shapes, types, and missing values across datasets.
  • Automatically encode categorical features and manage mappings per ADR-002/ADR-009.
  • Export/import preprocessing mappings for reuse across environments.

Quick Start

Preprocess a new dataset by validating shapes, encoding categoricals, and exporting the preprocessing mapping.

Frequently Asked Questions about ce-data-preparation

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

FAQPage Schema
How do I preprocess mixed data types with categorical features for calibrated explanations?

Preprocess mixed data types by validating input shapes and automatically encoding categorical features to ensure reliable calibration within CE pipelines. This handles missing values and manages mappings for deterministic encoding across unseen categories.

Why does my calibrated explanations pipeline fail when encountering unseen categorical values?

Calibrated explanations pipelines fail on unseen categorical values without deterministic encoding. This skill validates input data and applies robust categorical handling, managing mappings to prevent errors when new categories appear during inference.

Can I export and import preprocessing mappings for categorical encoding across different environments?

Yes, you can export and import preprocessing mappings for categorical encoding across different environments. This satisfies ADR-002 and ADR-009 requirements, allowing consistent mapping reuse and configurable preprocessing behavior throughout your workflows.

What is the best way to validate missing values and input shapes before generating calibrated explanations?

The best way to validate missing values and input shapes is to apply automated preprocessing that checks data types and structural integrity. This skill diagnoses input errors upfront, ensuring your dataset meets the robust validation requirements for CE pipelines.

Does this data preprocessing approach handle NaNs and categorical features simultaneously?

Yes, this data preprocessing approach handles NaNs and categorical features simultaneously. It validates input data, automatically encodes categoricals, and manages missing values across datasets to resolve calibration and explanation challenges caused by mixed-type inputs.

Do I need specific dependencies to validate and encode data for calibrated explanations workflows?

No specific dependencies are required to validate and encode data for calibrated explanations workflows. This skill operates independently to validate input shapes, manage missing values, and encode categorical features without external library constraints.