Python, Monte Carlo, Monte Carlo Simulation, Importance Sampling, Machine Learning.
vector. Boldface means it’s a vector and p(x) is the probability density of x. f(x) is just some scalar function of x we happen to be interested in. Now you should think of this as the probability-weighted average of f(x) over the entire space where x lives to communicate that. It’s often written