和顺 / 知几 返回所属 Agent
ZJ-05.01

竞争解释

原能力

提出可能的驱动过程,逐项指出它们能解释与不能解释的观测。(细化版 p.4–5)

首选项目

DoWhy(MIT)。 DoWhy

匹配范围

为多套因果模型表达假设和可辨识条件。

源码

DoWhy · def identify_effect(

dowhy/causal_model.py · 234–247 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
    def identify_effect(
        self, estimand_type=None, method_name="default", proceed_when_unidentifiable=None, optimize_backdoor=False
    ):
        """Identify the causal effect to be estimated, using properties of the causal graph.

        :param method_name: Method name for identification algorithm. ("id-algorithm" or "default")
        :param proceed_when_unidentifiable: Binary flag indicating whether identification should proceed in the presence of (potential) unobserved confounders.
        :returns: a probability expression (estimand) for the causal effect if identified, else NULL

        """
        if proceed_when_unidentifiable is None:
            proceed_when_unidentifiable = self._proceed_when_unidentifiable
        if estimand_type is None:
            estimand_type = self._estimand_type

实现与验收要点

提出竞争机制、列出未解释证据、明确是否具备因果识别。