HDP-book Exercise 2.2.8

HDP-book Exercise 2.2.8

高维概率 练习 2.2.8 讨论

题目

Exercise 2.2.8 (Boosting randomized algorithms). Imagine we have an algorithm for solving some decision problem (e.g. is a given number p p p a prime?). Suppose the algorithm makes a decision at random and returns the correct answer with probability 1 2 + δ \frac{1}{2} + \delta 21+δ with some δ > 0 \delta > 0 δ>0, which is just a bit better than a random guess. To improve the performance, we run the algorithm N N N times and take the majority vote. Show that, for any ϵ ∈ ( 0 , 1 ) \epsilon \in (0, 1) ϵ(0,1), the answer is correct with probability at least 1 − ϵ 1 - \epsilon 1ϵ, as long as

N ≥ 1 2 δ 2 ln ⁡ ( 1 ϵ ) N \ge \dfrac{1}{2\delta^2} \ln \left( \dfrac{1}{\epsilon} \right) N2δ21ln(ϵ1)

Hint: Apply Hoeffding’s inequality for X i X_i Xi being the indicators of the wrong answers.

简单翻译一下就是:随机猜,每一次猜对的概率为 1 2 + δ \frac{1}{2} + \delta 21+δ。 需要猜多少次才能确保猜对的概率至少是 1 − ϵ 1 - \epsilon 1ϵ? 提示是考虑猜错的情况。

预备知识

Theorem 2.2.6 (Hoeffding’s inequality for general bounded random variables). Let X 1 , ⋯   , X N X_1, \cdots, X_N X1,,XN be independent random variables. Assume that

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值