Explain Principal Component Analysis (PCA)
Principal Component Analysis (PCA) is a popular technique in machine learning and data science used to reduce the number of features in a…
Explain Principal Component Analysis (PCA)

Principal Component Analysis (PCA) is a popular technique in machine learning and data science used to reduce the number of features in a dataset while keeping as much important information as possible.
What PCA does
PCA transforms many correlated variables into a smaller set of new variables called principal components.
These components:
- Capture the maximum variance in the data
- Are uncorrelated with each other
- Reduce complexity while preserving important patterns
Simple intuition
Imagine a dataset with:
- Height
- Weight
- Body size
These features are related. PCA combines them into fewer meaningful components instead of treating them separately.
How PCA works
Step 1: Standardize the data
Features are scaled so one variable doesn’t dominate.
Step 2: Find relationships between variables
PCA calculates how features vary together.
Step 3: Create principal components
New axes are created that capture maximum variation.
The first component captures the most variance, the second captures the next most, and so on.
Step 4: Reduce dimensions
Keep only the most important components.
Example:
- Original features: 100
- After PCA: 10 principal components
Advantages of PCA
- Reduces dataset size
- Speeds up training
- Removes redundancy
- Helps visualization
- Reduces overfitting
Limitations of PCA
- Principal components may be hard to interpret
- Important information can be lost
- Works best with linear relationships
- Sensitive to feature scaling
Applications of PCA
- Image compression
- Face recognition
- Noise reduction
- **Data visualization**
- Feature engineering
Key idea
PCA converts high-dimensional data into fewer dimensions while preserving the most useful information.
Example
Suppose you have 50 features in a **dataset**.
After applying PCA:
- First component explains 40% variance
- Second explains 25%
- Third explains 15%
You may keep only the first 3 components and discard the rest.
메타데이터
- post_id
- 9e7dea950abe
- slug
- explain-principal-component-analysis-pca-9e7dea950abe
- url
- https://medium.com/@akdkeerthi2001/explain-principal-component-analysis-pca-9e7dea950abe
- canonical_url
- https://medium.com/@akdkeerthi2001/explain-principal-component-analysis-pca-9e7dea950abe
- author_url
- https://medium.com/@akdkeerthi2001
- status
- ok
- fetched_at
- 2026-06-10 08:17:25