跳到正文
cccskills
免费在 GitHub 公开

causalnex

Use CausalNex to learn causal structures, fit Bayesian networks, discretize features, generate synthetic graph data, and run inference, evaluation, and latent-variable workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(29)

  • SKILL.md3.2 KB
  • references/api-reference.md8.9 KB
  • references/contribution-mirror.md1.4 KB
  • references/installation.md1013 B
  • references/repo-provenance.md1003 B
  • references/repo-routing-metadata.json543 B
  • references/troubleshooting.md4.3 KB
  • references/workflows.md2.8 KB
  • scripts/check_install.py1.9 KB
  • scripts/smoke_bayesian_network.py2.8 KB
  • scripts/smoke_discretizer.py2.0 KB
  • scripts/smoke_structure_learning.py1.9 KB
  • scripts/smoke_synthetic_data.py2.5 KB
  • sub-skills/bayesian-networks/references/api-reference.md2.7 KB
  • sub-skills/bayesian-networks/references/troubleshooting.md2.3 KB
  • sub-skills/bayesian-networks/references/workflows.md2.2 KB
  • sub-skills/bayesian-networks/SKILL.md1.4 KB
  • sub-skills/discretization/references/api-reference.md1.3 KB
  • sub-skills/discretization/references/troubleshooting.md1.4 KB
  • sub-skills/discretization/references/workflows.md2.0 KB
  • sub-skills/discretization/SKILL.md1.4 KB
  • sub-skills/structure-learning/references/api-reference.md3.7 KB
  • sub-skills/structure-learning/references/troubleshooting.md1.4 KB
  • sub-skills/structure-learning/references/workflows.md2.1 KB
  • sub-skills/structure-learning/SKILL.md1.9 KB
  • sub-skills/synthetic-data/references/api-reference.md2.4 KB
  • sub-skills/synthetic-data/references/troubleshooting.md2.0 KB
  • sub-skills/synthetic-data/references/workflows.md2.2 KB
  • sub-skills/synthetic-data/SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CausalNex

Use this skill when the task names CausalNex, NOTEARS, DYNOTEARS, BayesianNetwork, InferenceEngine, Discretiser, DAGClassifier, DAGRegressor, BayesianNetworkClassifier, causal DAG learning, or Bayesian-network workflows from this package.

Route by task

  • Structure learning from tabular or time-series data -> sub-skills/structure-learning/SKILL.md
  • Bayesian-network fitting, inference, metrics, plots, and latent-variable EM -> sub-skills/bayesian-networks/SKILL.md
  • Discretizing continuous features, including tree-based or MDLP splits -> sub-skills/discretization/SKILL.md
  • Synthetic DAG/data generation, dynamic transforms, and categorical mapping -> sub-skills/synthetic-data/SKILL.md
  • Contrib-area or contribution-layout questions -> references/contribution-mirror.md

Fast start

  1. Install the package with pip install causalnex.
  2. If you need the optional discretizer extras, install pip install "causalnex[all]" or pip install mdlp-discretization~=0.3.3.
  3. Run scripts/check_install.py to confirm the core imports and optional backend availability.
  4. Read references/installation.md for supported Python and dependency notes.
  5. Read references/api-reference.md when you need verified public constructors, signatures, and return-shape notes.
  6. Read references/workflows.md for the shortest path into each workflow.
  7. Read references/contribution-mirror.md only when the user asks about causalnex.contrib or contribution layout.
  8. Read references/troubleshooting.md when imports, optional dependencies, or data-shape checks fail.
  9. Read references/repo-provenance.md when you need to compare this skill with the current source revision.

Shared scripts

  • scripts/check_install.py verifies the public package imports, torch availability, and the optional MDLP dependency.
  • scripts/smoke_structure_learning.py exercises from_pandas, from_numpy, from_pandas_dynamic, DAGClassifier, and DAGRegressor on tiny inputs.
  • scripts/smoke_bayesian_network.py fits a tiny Bayesian network, queries marginals, evaluates metrics, and optionally exercises latent-variable EM.
  • scripts/smoke_discretizer.py exercises the fixed, uniform, quantile, outlier, percentiles, tree, and MDLP discretizers.
  • scripts/smoke_synthetic_data.py exercises the DAG/data generators, dynamic transforms, and categorical mapping helpers.

References

  • references/installation.md
  • references/api-reference.md
  • references/workflows.md
  • references/contribution-mirror.md
  • references/troubleshooting.md
  • references/repo-provenance.md
  • references/repo-routing-metadata.json

Avoid

  • Do not assume CUDA is required; use_gpu=True falls back to CPU when CUDA is unavailable.
  • Do not assume mdlp-discretization is installed unless you asked for the optional discretizer path.
  • Do not rely on the original repository checkout; this skill should stand on its bundled references and scripts.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题