Em Algorithm, Statistics, Machine Learning, Clustering Algorithm, Python.
convex, then E[f(X)] = f(E[X]) holds true if and only if X = E[X] with probability 1, which means a random variable X is a constant. You can remember this formula by considering the figure below. The image from [2] f is a convex function shown by the solid line. X is a random variable with a 50%