Python, Monte Carlo, Monte Carlo Simulation, Importance Sampling, Machine Learning.
That is the variance of r which gives us a sense of how off from the truth a single sample of r is likely to be is the variance of f(x) times the density ratio where samples are generated according to q(x) scaled down by N. The hope is we can choose q(x) such that this variance is less than the