Maths for ML / Notation

x\mathbf{x}

bold lowercase (vector)

Linear algebraBeginner

Say it “vector x”

Convention: bold lowercase is a vector, bold/capital is a matrix, plain italic is a scalar.

Example

x=[x1,x2,x3]⊤\mathbf{x} = [x_1, x_2, x_3]^\top

In code

x = np.array([1., 2., 3.])
x = torch.tensor([1., 2., 3.])

Where you’ll see it in ML

Telling inputs (𝐱), weight matrices (W) and single values (b) apart at a glance.

Don’t confuse it with

Lessons that use it

← All 94 symbols