Expectation - SoojungHong/MachineLearning GitHub Wiki
The expected value (or mean) of X, where X is a discrete random variable, is a weighted average of the possible values that X can take, each value being weighted according to the probability of that event occurring. The expected value of X is usually written as E(X) or m.
E(X) = S x P(X = x)
So the expected value is the sum of: [(each of the possible outcomes) × (the probability of the outcome occurring)].
In more concrete terms, the expectation is what you would expect the outcome of an experiment to be on average.