Glossary

What is Principal component analysis?

In Turkish: Temel bileşen analizi (PCA) · Topic: Math foundations

A statistical method that summarizes data with many features by projecting it onto new axes that capture the most variation. The data becomes simpler while the loss of information stays limited.

How does it work?

The method first finds the direction in which the data spreads out the most; this is the first principal component. It then picks a direction perpendicular to it that carries the largest share of the remaining variation, and so on. Each component is a weighted mix of the original features. Keeping the first few components and dropping the rest represents the data with far fewer numbers. It resembles photographing an object from several angles and choosing the most informative one. The method is linear, meaning it relies only on straight axes.

Why does it matter?

It is one of the most common preprocessing steps for visualization, noise reduction and shortening training time. It is a classic way to cope with the curse of dimensionality. Because components are hard to interpret in terms of the original features, though, there is a tradeoff between simplification and explainability.

Example

Hundreds of measurements of a customer's shopping habits can be reduced to a few principal components and plotted on a two-dimensional chart, where groups of similar customers become visible.

FAQ

Is PCA the same as feature selection?

No. Feature selection keeps some of the existing columns, while PCA combines all of them to build new axes.

Does PCA work on every dataset?

It assumes that variation carries information and it captures only linear structure. It can perform poorly on curved structures, or on features with very different scales if they are not standardized first.

All terms