In this notebook we'll look at the eigendecomposition of matrices. We will be following the lessons taught in the Deep Learning book from Goodfellow et al.
In [15]:
import numpy as np
import scipy as sci
from scipy import linalg as la
In [81]:
mat_dim = 5
A = np.mat(np.random.randint(low=1, high=10, size=(mat_dim, mat_dim)))
In [82]:
A
Out[82]:
In [83]:
B = la.inv(A)
B
Out[83]:
In [85]:
I = A * B
I
Out[85]:
In [88]:
Out[88]:
In [ ]: