expectation
Say it “expected value of f of x, x drawn from p”
The average value you'd get if you sampled many times — weighted by probability.
Example
In code
np.mean(samples)samples.mean()Where you’ll see it in ML
The training loss is an expectation over the data distribution, estimated by a batch average.