Artificial intelligence · University
PCA, variance and dimensionality reduction
Principal component analysis finds orthogonal directions of high variance in centred data under its standard formulation.
Prerequisites
Linear algebra, covariance and orthogonal projections.
Study notes
Purpose
Principal component analysis finds orthogonal directions of high variance in centred data under its standard formulation.
Computation
Principal directions can be obtained from covariance eigenvectors or a singular-value decomposition of centred data.
Variance
Explained-variance ratios summarize variance captured, not predictive accuracy or importance to every task.
Scale
PCA is sensitive to units and scaling. High variance can reflect nuisance variation, and low-variance directions can still be useful for prediction.
Worked examples
Covariance eigenvalues are 6,3,1. Find the explained-variance ratio of the first component.
6/(6+3+1)=0.6.
0.6
For eigenvalues 6,3,1, find the first two components' cumulative ratio.
(6+3)/10=0.9.
0.9
Check your understanding
What does standard PCA do before computing covariance-based directions?
- Always convert all values to zero
- Use test labels to orient axes
- Centre each feature
- Sort features alphabetically as the only step
Are explained-variance ratios identical to classification accuracy?
- Only if ratios sum to one
- Yes, exactly
- Only for every two-dimensional dataset
- No
A feature has values 2,4,6. Find the centred value corresponding to 6.
Why can an important predictive signal lie in a low-variance direction?
Answers and marking guidance
Answers and marking notes
- Centre each feature
Subtracting feature means is part of the standard centred formulation.
- No
They measure retained variance, not supervised predictive success.
- 2
The mean is 4, so 6−4=2.
- Class separation can depend on a subtle feature even when other unrelated variation is much larger. PCA does not use labels in its basic form.
Credit unsupervised variance versus predictive relevance.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.
AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.