MathematicsLesson 49Free preview
Matrices
This lesson is part of A.I. · All levels
Summary
Matrix is a row and column table that is the most commonly used data structure in machine learning. The identity matrix is like the number 1 in multiplication, so multiplying the matrix with the identity doesn't change it. Matrix multiplication is non-commutative, meaning the order of multiplication is influential.
Key points
- Matrix dimensions are row × column, for example 2×3.
- The identity matrix plays a role as the number 1 in multiplication.
- Multiplication of the noncommutative matrix: A @ B can be different from B @ A.
- NumPy provides np.eye(), np.zeros(), and the operator @ for the matrix.
- The layer of neural network counts the output through the matrix multiplication.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.