Getting ready
PCA reduces the n-dimensional input data to r-dimensional input data, where r<n. In simpler terms, PCA involves translating the origin and performing rotation of the axis such that one of the axes (the principal axis) has the least variance with data points. A reduced dimension dataset is obtained from the original dataset by performing this transformation and then dropping (removing) the orthogonal axes with high variance. Here, we employ the SVD method for PCA dimensionality reduction. Consider X, the n-dimensional data, with p points Xp,n. Any real (p×n) matrix can be decomposed as follows:
X = U ∑ VT
Here, U and V are orthonormal matrices (that is, U.UT = VT.V= 1) of size p × n and n × n respectively. ∑ is a diagonal matrix ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access