Maths for ML / Notation

a⊙b\mathbf{a}\odot\mathbf{b}

Hadamard (element-wise) product

Linear algebraIntermediate

Say it “a element-wise times b”

Multiply matching entries and keep them as a vector/matrix — no summing.

Example

[1,2]⊙[3,4]=[3,8][1,2]\odot[3,4]=[3,8]

In code

a * b
a * b

Where you’ll see it in ML

Gates in LSTMs/GRUs, masking, dropout.

Don’t confuse it with

Lessons that use it

← All 94 symbols