The real numbers
Say it: "R", "the reals"
What it means
The set of all numbers on the number line, including decimals and negatives. is the set of lists (vectors) of real numbers; is the set of matrices.
Example
A point in 3-dimensional space.
In code
import numpy as np x = np.array([0.5, -2.0, 3.1]) print(x.shape)
Output
(3,)
Where it appears in machine learning
Shapes in papers: an image batch might be , which is its NumPy or PyTorch shape.
Related symbols
Learn it properly in the free lesson Vectors, Norms & the Dot Product, with practice questions that check your answers.