Skip to content
LaTeX (KaTeX) templates

Math — Shannon Entropy

Information content of a distribution.

Template previewLaTeX (KaTeX)
H=−∑ipilog⁡2piH = -\sum_i p_i \log_2 p_iHmax=log⁡2n (uniform)H_{max} = \log_2 n\ \text{(uniform)}I=−log⁡2p (self-information)I = -\log_2 p\ \text{(self-information)}measured in bits\text{measured in bits}

What this template contains

Equations
4
Source
4 lines

Make it your own.

H = -\sum_i p_i \log_2 p_i

H_{max} = \log_2 n\ \text{(uniform)}

I = -\log_2 p\ \text{(self-information)}

\text{measured in bits}