PCA Code example

Instructor: Applied AI Course Duration: 19 mins

CLick here to download IPYTHON notes for this lecture

correction: The formula for covariance matrix is 1/n * (X^T*X) (we missed out in 1/n in the video)

there is a typo in the ipython notebook, as eigenvalues generated are in ascending order, when we multiply vector*sample_data^T

vector[0]*X[i] will be second principle component

vector[1]*x[i] will be first principle component

451 Comment(s)

3.19
14 min