Machine Learning Basics : Scalars, Vectors, Matrices and Tensors


A scalar is just a single number, in contrast to most of the other objects like Vectors, which are usually arrays of multiple numbers. We write scalars in italics. We usually give scalars lower-case variable names. When we introduce them, we specify what kind of number they are. "Let n N be the number of units," while defining a natural number scalar.