Neural Sync Active
Numerical Linear Algebra
Registry Synced
Numerical Linear Algebra
92 words
1 min read
Reading compass
Now · 7.1 QR Decomposition
Numerical Linear Algebra
7.1 QR Decomposition
X=QR where Q is orthogonal, R is upper triangular.
Used for numerically stable least squares: β^=R−1QTy
pythonimport numpy as np X = np.random.randn(100, 5) y = np.random.randn(100) Q, R = np.linalg.qr(X) beta = np.linalg.solve(R, Q.T @ y)
7.2 Singular Value Decomposition
X=UΣVT — used for PCA, pseudoinverse, and handling rank deficiency.
7.3 Cholesky Decomposition
For positive definite A=LLT (lower triangular). Used in Kalman filters and GP regression.
Join Discord
PreviousStochastic ProcessesNextOptimization Methods