In class, we showcase how to use the rejection sampling method with 𝑔 ( 𝑥 ) below to generate random samples from the probability function below. x  x1  x2 p(x)  0.6  0.4   Suppose we use the discrete uniform as our g(x). Namely, 𝑔 ( 𝑥 1 ) = 𝑔 ( 𝑥 2 ) . When we generate 800 samples of x1 from 𝑔 ( 𝑥 ) , how many of these samples will be accepted?单项选择题

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!