concept PCA in category deep learning
appears as: PCA, PCA

This is an excerpt from Manning's book Math and Architectures of Deep Learning.
The above ideas form the basis of the technique of Principal Component Analysis (PCA). It is one of the most important tools in the repertoire of a data scientist and machine learning practitioner. These ideas also underly the technique of Latent Semantic Analysis (LSA) for document retrieval - a fundamental approach for solving Natural Language Processing (NLP) problems in machine learning. This chapter is dedicated to studying a set of methods leading up to the PCA and LSA. We study a basic document retrieval system along with python code in the end.
Figure 4.2: A 2D data distribution. The true underlying pattern is indicated by the two arrowed straight line. The variation along the direction perpendicular to the true pattern is caused by measurement errors. PCA finds the underlying straight line pattern as first principal axis. Rotating the coordinate system so that this becomes the X axis and then replacing every point by its projection on the new X axis converts the data from 2D to 1D. The projected data is less noisy. And it captures the true distribution.
![]()