Python, Monte Carlo, Monte Carlo Simulation, Importance Sampling, Machine Learning.
to some distribution. We have the following estimation of expectation: The Monte Carlo sampling method is to simply sample x from the distribution p(x) and take the average of all samples to get an estimation of the expectation. If p(x) is very hard to sample from, we can estimate the expectation