Ai Cheat Sheet

Search…

Statistics ↓↑

Probability ↓↑

Data Science ↓↑

Data Engineering ↓↑

Machine Learning ↓↑

Natural Language Processing ↓↑

Computer Vision ↓↑

Time Series

Reinforcement Learning

System Design

Interview Questions ↓↑

Contact

Powered By GitBook

Matrix

Matrix Multiplication

Hadamard Product/Multiplication is simply the elementwise multiplication of two Matrix. Usually, in programming, the notation of this operation is a star (*).

Multiplying a Matrix by Another Matrix

Need to do the "dot product" of rows and columns.

Dividing a Matrix by Another Matrix

We don't do that. Rather we make the inverse of the denominator matrix and then multiply it with the numerator matrix.

Inverse of a Matrix

Very much helpful if we want to get an unknown matrix such as X where,

$XA = B$

by $X = BA^{-1}$

Determinant of a Matrix

The determinant of a matrix is a special number that can be calculated from a square matrix. The determinant helps us find the inverse of a matrix, tells us things about the matrix that are useful in systems of linear equations, calculus and more.

$|A| = ad - bc$

Identity Matrix

It is the matrix equivalent of the number "1". It is "square" (has same number of rows as columns), It has 1s on the diagonal and 0s everywhere else.

$A \times A^{-1} = A^{-1} \times A = I$

How to Multiply Matrices

Inverse of a Matrix

Last modified 9mo ago