Identity matrix
Say it: "the identity", "I"
What it means
A square matrix with 1s on the diagonal and 0s elsewhere. Multiplying by it changes nothing: .
Example
The matrix version of the number 1.
In code
import numpy as np print(np.eye(3))
Output
[[1. 0. 0.] [0. 1. 0.] [0. 0. 1.]]
Where it appears in machine learning
Ridge regression adds to make a matrix invertible; residual connections add the identity map.
Related symbols
Learn it properly in the free lesson Matrices, with practice questions that check your answers.