Self -information
In information theory and statistics, “surprise” is quantified by self-information. For an event x with probability p(x), the amount of surprise (also called information content) is defined as
I(x)−logp(x)log1p(x).I(x) -\log p(x)\…