知识卡片
指示函数把概率转成期望
令I(X>10)在条件成立时为1,否则为0,其期望就是P(X>10)。按模型采样后统计满足条件的比例,即可近似该概率。比例来自有限模型样本,不是无误差真值,更不保证等于现实总体比例。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 概率生成建模入门
原书出处 · 1 处
- · 查看原书依据
probability of X being greater than 10, you could simply generate a bunch of x’s and convert each x to 1 if it is greater than 10 and 0 otherwise. Then you’d take the average of the 1’s and 0’s, and the resulting value would estimate the desired probability.
参考来源
- 位置:《Causal AI》第02章《概率生成建模入门》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Causal AI/_epub-src/OEBPS/Text/chapter-2.xhtml)
- 结论依据:摘录中关于指示函数把概率转成期望的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:probability of X being greater than 10, you could simply generate a bunch of x’s and convert each x to 1 if it is greater than 10 and 0 otherwise. Then you’d take the average of the 1’s and 0’s, and the resulting value would estimate the desired probability.