PCA finds orthogonal directions (principal components) that capture the most variance, and projects the data onto the top few.
Use it for dimensionality reduction, noise removal, visualization, and removing correlated features before a model.
Standardize features first; components are linear and less interpretable than original features.
Choose the number of components by cumulative explained variance (for example 95%).
Loading…