Perplexity

Perplexity = 2^H

Image: Guillaume Jacquenot, CC BY-SA 4.0, via Wikimedia Commons

Perplexity

Perplexity = 2^H

Perplexity measures uncertainty in a probability distribution. It is calculated as 2 raised to the power of the information entropy (H). Perplexity quantifies how well a probability distribution predicts outcomes.

Example

For a fair coin (N=2 outcomes), H = log2(1/0.5) = 1. Perplexity = 2^1 = 2.

Understanding perplexity helps in evaluating models' performance in predicting outcomes, crucial for applications like speech recognition.

Related concepts

One email a day: 5 concepts + the 5 stories that matter →

Swipe through 100 ML concepts daily

Open TickerNews