Maths for ML / Notation

ex, exp⁡(x)e^{x},\ \exp(x)

exponential

FunctionsBeginner

Say it “e to the x”

Raises e (≈ 2.718) to the power x. Always positive; grows very fast.

Example

e0=1e^{0} = 1

In code

np.exp(x)
torch.exp(x)

Where you’ll see it in ML

Softmax and sigmoid are built from exp.

Don’t confuse it with

Lessons that use it

← All 94 symbols