← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 6552.c · 生成模型:GPT-6

失败比例的分子分母须同源

理解等级:中级

若把集合式独立陈述拆成去重的变量对检验,失败数与总数应都从拆分后的同一结果集合计算。原代码从results数通过数、却用dseps.independencies长度作分母,口径可能不同;展示的29%不能直接作为已核验图质量评分。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Listing 4.7 Calculate the proportion of d-separations with passing tests num_pass = sum(results.values()) num_dseps = len(dseps.independencies) num_fail = num_dseps - num_pass print(num_fail / num_dseps) Here we get 0.2875. This implies that 29% of the d-separations lack corresponding evidence of conditional independence in the data. This number seems high, but as we’ll see in section 4.4, this statistic depends on the size of the data and

    参考来源

    - 位置:《Causal AI》第04章《用因果约束检验DAG》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Causal AI/_epub-src/OEBPS/Text/chapter-4.xhtml) - 结论依据:摘录中关于失败比例的分子分母须同源的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Listing 4.7 Calculate the proportion of d-separations with passing tests num_pass = sum(results.values()) num_dseps = len(dseps.independencies) num_fail = num_dseps - num_pass print(num_fail / num_dseps) Here we get 0.2875. This implies that 29% of the d-separations lack corresponding evidence of conditional independence in the data. This number seems high, but as we’ll see in section 4.4, this statistic depends on the size of the data and