Machine Learning இல் Eigenvalues, SVD, மற்றும் High-Dimensional Vector Spaces
Singular Value Decomposition (SVD) ஆனது நவீன representation learning, latent semantic analysis, மற்றும் vector retrieval engines ஆகியவற்றின் கணித அடிப்படையாக உள்ளது.
Spectral Theorem & Low-Rank Approximation
எந்தவொரு தன்னிச்சையான அணி க்கும், ஒரு orthogonal factorization உள்ளது:
இங்கு மற்றும் ஆகியவை இடது மற்றும் வலது singular vectors கொண்ட orthonormal matrices ஆகும், மேலும் என்பது singular values கொண்ட மூலைவிட்ட அணியாகும்.
Eckart-Young-Mirsky Theorem
Frobenius norm error ஐ குறைத்துக்கொண்டு செல்லும் உகந்த rank- approximation :
pythonimport numpy as np def truncated_svd_embedding(X: np.ndarray, k: int) -> np.ndarray: U, S, Vt = np.linalg.svd(X, full_matrices=False) # Project high-dimensional token co-occurrence matrix into k-dimensional space return U[:, :k] * np.sqrt(S[:k])
Dimensionality Reduction Dynamics
-dimensional Euclidean space இல், ஆரை கொண்ட ஒரு hypersphere இன் கன அளவு பின்வருமாறு அளவிடப்படுகிறது:
ஆகும்போது, ஒரு Gaussian distribution இல் உள்ள கிட்டத்தட்ட அனைத்து நிறையும் ஆரை இல் ஒரு மெல்லிய கோள ஓட்டுக்குள் செறிவடைகிறது, இது vector search இல் curse of dimensionality ஐ உருவாக்குகிறது.