Skip to content
LaTeX (KaTeX) templates

Math — Shannon Entropy

Information content of a distribution.

Template previewLaTeX (KaTeX)
Rendering…

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}