Prepare
Define variables, units, missing-data treatment, centering and any justified scaling.
SRAI Book 1 · Chapter 7 · PU-B01-C07
Decompose matrices, verify low-rank approximations and derive PCA from centered data. Quantify what dimensionality reduction preserves and loses before using a compressed representation in a decision.
01 / LEARNING OUTCOMES
02 / ANALYTICAL SEQUENCE
Define variables, units, missing-data treatment, centering and any justified scaling.
Compute SVD and verify reconstruction and orthogonality within a stated tolerance.
Choose k using reconstruction evidence and the intended downstream use.
Record what is removed, affected groups, revision triggers and accountable authority.
03 / SVD, LOW RANK AND PCA
Keeping the first k singular directions gives Ak = UkΣkVkT, the best rank-k approximation in Frobenius norm.
For centered data, the rows of VT provide principal directions and UΣ provides scores. Standardization changes the geometry and must be justified.
| Reconstruction | Measured against an explicit tolerance |
| Explained variance | Squared singular values divided by their total |
| Preprocessing | Fit without leakage and documented |
| Loss review | Residuals, rare events and subgroups checked |
All examples use synthetic instructional data.
It does not establish importance, causality, fairness or predictive accuracy. Component names must not overstate mathematical association.
A defensible choice states what is preserved, what is lost, who may reverse it and which evidence requires revision or stopping.
04 / REPRODUCIBILITY AND RELEASE CONTROL
CONTROLLED RESOURCES
Controlled publication edition.
PDF ↗ REPRODUCEExecution-tested and owner-approved.
IPYNB ↗ PRACTISEProgress toward independent application.
PDF ↗ RUNRun the approved notebook and inspect the saved validation evidence.
COLAB ↗ DOWNLOADLesson, notebook, exercises, Executive Brief, presentation and validation records.
ZIP ↓ APPLYConnect analytical controls to decisions.
PDF ↗