Machine Learning, Aritificial Intelligence, Data Science, Programming, Deep Learning.
we will use a Gaussian. The green dots are the samples generated by q. Next, we calculate the weight based on the importance sampling (p(x)/q(x)). So the green dots within p with have a heavier weight. Next, instead of using q to generate samples, we use the weight to determine the next sampling