技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
structure-learning【数据与研究】Learn causal graph structure with NOTEARS, DYNOTEARS, and the sklearn DAG wrappers, and debug numeric-data and convergence failures.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when you want to learn a causal graph from data, tune NOTEARS/DYNOTEARS, or use the sklearn-style DAGClassifier and DAGRegressor wrappers.
from_pandas, from_numpy, from_pandas_dynamic, NOTEARS, DYNOTEARS, DAGClassifier, DAGRegressor, or NotearsMLP.StructureModel.../bayesian-networks/SKILL.md.../discretization/SKILL.md.../synthetic-data/SKILL.md.references/api-reference.md for the verified constructors and key parameters.references/workflows.md for the shortest tabular, dynamic, and sklearn wrapper recipes.../../scripts/smoke_structure_learning.py after install changes or API edits.references/troubleshooting.md if the learner rejects your data or fails to converge.use_gpu=True is only a preference for PyTorch NOTEARS; the implementation falls back to CPU when CUDA is unavailable.causalnex.structure.notears functions do not take use_gpu; use the PyTorch module or wrapper notears_mlp_kwargs for device controls.from_pandas and from_numpy expect numeric input and reject NaN or infinity.StructureModel allows cycles, but the learned Bayesian-network path does not.