Matrix Multiplication

Learn the concept of matrix multiplication and implement it in Python.

One of the most commonly used operations in data science is matrix multiplication. Because of its frequency in predictive models (including deep neural networks), a lot of attention has been devoted to making matrix multiplication more efficient in recent years. Today, we even have special hardware for fast matrix multiplication. In this lesson, we’ll learn about matrix multiplication and different ways to do it.

The dimensions rule

Not every pair of matrices can be multiplied together. Two matrices are multipliable if the number of columns, nn, in the first matrix equals the number of rows in the second matrix.

Get hands-on with 1200+ tech skills courses.