Skip to content
Development
Skill

/domain-tabular

Use for structured/tabular data prediction: churn, fraud, credit/risk scoring, price/demand regression, conversion, recommendation features, any CSV/database ML. Picks gradient boosting vs deep tabular, robust feature engineering, correct CV, calibration, and imbalance handling.

From plugin
mlcraft
823 skills1 agent1 command
Install
$ npx -y skills add mxslr/mlcraft --skill domain-tabular --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/domain-tabular

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use for structured/tabular data prediction: churn, fraud, credit/risk scoring, price/demand regression, conversion, recommendation features, any CSV/database ML. Picks gradient boosting vs deep tabular, robust feature engineering, correct CV, calibration, and imbalance handling.

SKILL.md

domain-tabular.SKILL.md
name: domain-tabular
description: "Use for structured/tabular data prediction: churn, fraud, credit/risk scoring, price/demand regression, conversion, recommendation features, any CSV/database ML. Picks gradient boosting vs deep tabular, robust feature engineering, correct CV, calibration, and imbalance handling. Triggers on 'predict churn/fraud/price/risk', 'classify this CSV/table', 'tabular', 'XGBoost/LightGBM', 'feature engineering'."

Tabular ML - Method Selection

For most tabular problems, **gradient-boosted trees beat deep learning** - start there.

Decision table

| Situation | Recommended | Notes | |---|---|---| | Default (any size, mixed types) | **LightGBM / XGBoost / CatBoost** | CatBoost handles categoricals natively; LightGBM is fast; XGBoost robust. Tune with Optuna. | | Strong baseline / linear signal | **Regularized Linear/Logistic, ElasticNet** | Fast sanity baseline; interpretable. | | Very large + rich, or embeddings needed | **Deep tabular (FT-Transformer / TabNet)** | Only when GBTs plateau and data is large. | | Tiny data | **Linear / simple trees + heavy regularization** | Avoid overfitting; strong CV. | | Ensembling | **Blend/stack GBTs + linear** | Usually the last real gain. |

Feature engineering & correctness

  • **Target leakage is the #1 killer**: drop features known only *after* the outcome or that encode the label. Audit each feature's availability at prediction time.
  • Fit encoders/scalers/imputers/target-encoding **inside CV folds** (on train only) - fitting on the full set leaks (`data-rigor-and-leakage`).
  • Handle categoricals (native/CatBoost, or target/one-hot with fold-safe encoding), missing values, and skew deliberately.
  • Time-aware data needs a **time-based split** (train earlier than test), never random.

Evaluation & imbalance

  • **CV**: StratifiedKFold (classification), GroupKFold if entities repeat, TimeSeriesSplit if temporal.
  • **Imbalanced** (fraud/churn): PR-AUC, recall at a fixed precision, class weights or focal/`scale_pos_weight` - not raw accuracy.
  • **Calibrate** probabilities (Platt/isotonic) if scores drive decisions/thresholds.
  • **Explainability**: SHAP for global + per-prediction attribution (great for stakeholder trust).
  • Improve: use `accuracy-improvement-loop` (feature engineering usually beats model swaps; then tuning, then stacking).
Read more
Ships withmlcraft

A research-first AI/ML research-engineer workflow for Claude Code

Get the whole plugin

Other skills on mlcraft.

domain-3d
Skill

domain-3d

Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from LiDAR, and depth or mesh analysis,…

@mxslr@mxslrView Skill