Introduction to Tensors
“Dwell on the beauty of life. Watch the stars, and see yourself running with them.”
– Marcus Aurelius
With the basic knowledge of vectors and matrices under our belts now, we familiarize ourself with tensors. Tensors are central to vectorized computations for machine learning tasks. In this chapter, we define tensors and discuss their mathematical properties. The programming counterpart involves Numpy
n-dimensional arrays.
TipChapter Objectives
In this chapter, we will learn the following:
Tenors and their operations
Numpy
n-dimensional arraysNumpy
array creationNumpy
random number generatorIndexing and Slicing of arrays
Comprehending data science in the language of tensors.