Maths for ML / Notation

x↦x2x \mapsto x^2

maps to

FunctionsIntermediate

Say it “x goes to x squared”

Describes what a function does to a single input, like a lambda.

Example

x↦max⁡(0,x)x \mapsto \max(0, x)

That's ReLU.

In code

lambda x: max(0, x)

Where you’ll see it in ML

Defining activations and transforms inline.

Don’t confuse it with

Lessons that use it

← All 94 symbols