Computer Science
Advanced
Shannon Entropy
Average information content of a random source (bits).
Formula
Variables
p_iSymbol probabilities
Example
A fair coin carries H = −(½·log₂½ + ½·log₂½) = 1 bit of information per flip.
Did You Know?
Claude Shannon founded information theory in 1948, giving us the bit as the fundamental unit of information.