Greek letters

πθ(a∣s)\pi_\theta(a \mid s) Pi

A policy π(a | s) in reinforcement learning, or the constant 3.14159…

In ML papers

In reinforcement learning, π\pi is a policy: π(a∣s)\pi(a \mid s) is the probability of taking action aa in state ss, and πθ\pi_\theta is a policy with parameters θ\theta. π∗\pi^* is the optimal policy.

Inside formulas such as the normal density 12πσ2\frac{1}{\sqrt{2\pi\sigma^2}}, π\pi is just the constant 3.14159…3.14159\ldots

Other meanings, by context

How to type it

LaTeXShows
\piπ\pi

A worked example

π(left∣s)=0.7,π(right∣s)=0.3\pi(\text{left} \mid s) = 0.7, \quad \pi(\text{right} \mid s) = 0.3

A policy in one state: a probability for each action, adding up to 1.

Equations that use it

Related

p(y∣x)p(y \mid x)Given (conditional bar)∏i=1Np(xi)\prod_{i=1}^{N} p(x_i)Productθ∗\theta^*Star (optimal)

Decode this example →