UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

deep-models

deep-models

Operate CausalML optional deep neural estimators: DragonNet and CEVAE across TensorFlow, Torch/Pyro, and JAX backends.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: deep-models description: "Operate CausalML optional deep neural estimators: DragonNet and CEVAE across TensorFlow, Torch/Pyro, and JAX backends." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

deep-models

Use this sub-skill for CausalML 0.17.0 workflows that need optional neural causal estimators:

  • TensorFlow causalml.inference.tf.DragonNet
  • Torch/Pyro causalml.inference.torch.CEVAE
  • JAX causalml.inference.jax.DragonNet
  • JAX causalml.inference.jax.CEVAE

Prefer keyword arguments (X=, treatment=, y=) for all fit and fit_predict calls. The current neural-estimator order is X, treatment, y, p; using keywords avoids argument-order migration warnings and makes the treatment/outcome roles explicit.

Route here when

  • The user asks for DragonNet, CEVAE, neural causal estimators, hidden-confounder CEVAE, or optional tf, torch, or jax backends.
  • The user needs tiny CPU examples for backend smoke checks before running larger experiments.
  • The user asks how to save/load TensorFlow or JAX DragonNet checkpoints, or JAX CEVAE checkpoints.
  • The user sees optional-backend import errors, CUDA warnings, Pyro/JAX runtime issues, or shape errors in neural CATE estimation.

For non-neural meta-learners, TMLE, IV/DRIV, or serialization helpers, use ../causal-estimation/SKILL.md. For AUUC/Qini/cumulative-gain scoring and decision optimization after producing ITE/CATE predictions, use ../analysis-and-decision/SKILL.md.

Reference map

Minimal operating sequence

  1. Choose the backend and install the matching optional extra; do not assume one deep backend implies the others are installed.
  2. Build numeric X with shape (n_samples, n_features), binary treatment with shape (n_samples,), and numeric y with shape (n_samples,).
  3. Start with a tiny CPU configuration to prove imports, shapes, and method availability.
  4. Fit with keyword arguments and inspect only finite ITE/propensity outputs before using metrics or policy decisions.
  5. Save only where the wrapper supports it: TensorFlow DragonNet, JAX DragonNet, and JAX CEVAE. Torch/Pyro CEVAE exposes no CausalML save/load wrapper.
保存したスキル