Principal Component Analysis (PCA) Principal Component Analysis (PCA) is an unsupervised learning method in the linear dimensionality reduction family. This page summarizes its mechanism, practical uses, important trade-offs, and a browser-based concept explorer.
What is learned. During training, the algorithm builds or adjusts the parameters and internal representation used by Principal Component Analysis (PCA). The core learning mechanism is: Calculates orthogonal eigenvectors of the data covariance matrix to project features onto principal components that maximize explained variance.
How training becomes inference. Prepare data → initialise the model state → evaluate the current objective → update parameters or structure → validate progress → use the final state for inference. Once training stops, the fitted state is reused on unseen inputs rather than being reconstructed from scratch. The resulting output is: A lower-dimensional embedding or transformed representation designed to preserve selected structure.
Why practitioners use it. Unsupervised, deterministic, mathematically optimal variance preservation, removes collinearity. Typical fits include Data preprocessing, noise filtration, financial risk factor models (eigen-portfolios), 2D/3D visualization.
What to verify before trusting it. Cannot capture non-linear relationships; principal components are linear combinations that can be hard to interpret. The visual simulation is intentionally simplified, so real use should still validate preprocessing, data independence, hyperparameters, uncertainty and task-appropriate metrics.
Internal statethe parameters and internal representation used by Principal Component Analysis (PCA)
Typical outputA lower-dimensional embedding or transformed representation designed to preserve selected structure.
Good fitData preprocessing, noise filtration, financial risk factor models (eigen-portfolios), 2D/3D visualization.
Main cautionCannot capture non-linear relationships; principal components are linear combinations that can be hard to interpret.