NumPy · Lesson 5.1 · Pro

Dot products and matrices

Multiply and add in one step with dot products, and multiply matrices, the maths behind most models.

In this lesson

  1. The dot product
  2. A matrix times a vector
  3. A matrix times a matrix
  4. Weighted averages