知识卡片
概率分析依赖输入分布
概率分析先指定或推断输入分布,再对输入求成本期望,得到平均情况界。
若无法合理描述输入分布,计算出的“平均”便缺少依据。
雇用例把所有 n! 种候选质量排列设为等概率,这是明确假设,并非现实招聘的已知事实。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第5章 概率分析和随机算法 · 查看原书依据
In order to perform a probabilistic analysis, we must use knowledge of, or make assumptions about, the distribution of the inputs. Then we analyze our algorithm, computing an average-case running time, where we take the average, or expected value, over the distribution of the possible inputs.
参考来源
- 位置:《算法导论(第4版)》第 5 章 5.1–5.2 节(`OEBPS/chapter005.xhtml`,文本字符 [0, 5000);公式图 Art_P245–P255)。
- 结论依据:5.1 节把概率分析定义为对指定输入分布求成本期望,并将所有 n! 种候选排列等可能明确列作模型假设。
- 原始内容:In order to perform a probabilistic analysis, we must use knowledge of, or make assumptions about, the distribution of the inputs. Then we analyze our algorithm, computing an average-case running time, where we take the average, or expected value, over the distribution of the possible inputs.