baumhaus.digital/Studium Generale/Short History of the Learning Machine/From Claude v0.0.1 to John, Marvin &c./A Mathematical Theory of Communication (1948)/Surprise and Entropy
H = − Σ pi · log2 pi
- Entropy = average surprise per message, measured in bits.
- Fair coin: 1 bit. Coin that gives heads 90% of the time: only 0.47 bit. A certain event: 0 bit.
- Fair die: log2 6 ≈ 2.58 bits.
- The more predictable the source, the less there is to say.
