Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for svd spectral
Search options not deleted
49 votes
Accepted

The proof of shrinking coefficients using ridge regression through "spectral decomposition"

The question appears to ask for a demonstration that Ridge Regression shrinks coefficient estimates towards zero, using a spectral decomposition. … The spectral decomposition can be understood as an easy consequence of the Singular Value Decomposition (SVD). Therefore, this post starts with SVD. …
whuber's user avatar
  • 334k
28 votes
Accepted

Is PCA optimization convex?

If you keep close watch, you can see the SVD and Lagrange multipliers lurking--but they're just a sideshow, there for scenic interest, and I won't comment on them further. … A good way to think about the problem $(**)$--even if you don't intend to carry out the corresponding calculations--is in terms of the Spectral Theorem. …
whuber's user avatar
  • 334k
27 votes

Why does Andrew Ng prefer to use SVD and not EIG of covariance matrix to do PCA?

I cannot access some relevant SIAM papers from my institution (blame research cutbacks) but I found something that might support the assessment that the SVD routine is more stable. … "Stable and efficient spectral divide and conquer algorithms for the symmetric eigenvalue decomposition and the SVD." SIAM Journal on Scientific Computing 35.3 (2013): A1325-A1349. …
cangrejo's user avatar
  • 2,259
18 votes

What is French data analysis?

Greenacre also noted an important connection to generalised SVD and generated for me the only easily readable book on the topic. Discussions can get caustic -- see de Leeuw's review of Murtagh. … With a simple crosstab one might compare the 'French' style of simple Correspondence Analysis based on spectral decomposition of a suitably transformed table, with Association modeling (e.g. by Goodman …
conjugateprior's user avatar
15 votes
Accepted

Automatic keyword extraction: using cosine similarities as features

Spectral Clustering Another way would be to apply spectral clustering. You'll need to supply a similarity matrix, which you already have, and it will find clusters on it. … be useful: https://gist.github.com/mblondel/6230787 Non-Negative Matrix Factorization Finally, you can cluster you term-document matrix with some decomposition techniques from Linear Algebra, like SVD
Alexey Grigorev's user avatar
15 votes

Maximum penalty for ridge regression

Specifically, if SVD of the design matrix is $X=USV^\top$, then $$\hat\beta_\mathrm{ridge} = V \frac{S}{S^2+\lambda I} U^\top y.$$ This is explained multiple times on our website, see e.g. … @whuber's detailed exposition here: The proof of shrinking coefficients using ridge regression through "spectral decomposition". …
amoeba's user avatar
  • 107k
11 votes
Accepted

When there are more variables than observations do shrinkage methods (such as Ridge and Lass...

You can alternatively show this by applying SVD, and showing that the singular values in the ridge case are all positive. … The proof of shrinking coefficients using ridge regression through "spectral decomposition" However, as a matter of doing computation on a computer (not mathematics), choosing $\lambda$ too small may not …
Sycorax's user avatar
  • 94.1k
11 votes
Accepted

How to perform PCA for data of very high dimensionality?

If you want to do PCA on the correlation matrix, you will need to standardize the columns of your data matrix before applying the SVD. … You can verify with some algebra that this gives you the same answer as doing the spectral decomposition of the sample covariance matrix. …
vqv's user avatar
  • 2,514
11 votes
Accepted

Explaining dimensionality reduction using SVD (without reference to PCA)

The SVD can be linked to dimensionality reduction from the standpoint of low rank matrix approximation. … For example, unitarily invariant norms include the Ky Fan k-norms and Schatten p-norms, which include the common Frobenius, spectral, and nuclear norms as special cases. …
user20160's user avatar
  • 33.2k
9 votes

SVD : Why right singular matrix is written as transpose

This is generalized by the SVD, which tells you that any linear transformation is a sum of such rank-one maps, and, what's more, you can arrange for the summands to be orthogonal. … A special case of this is the spectral decomposition for a positive semidefinite matrix $A$, where $U = V$ and the $u_i$'s are the eigenvectors of $A$---the summands $u_i u_i^T$ are rank-one orthogonal …
9 votes
0 answers
3k views

Principal components: Can I interpret PCA as essentially a change of basis

Relationship between SVD and PCA. How to use SVD to perform PCA? Why are principal components in PCA (eigenvectors of the covariance matrix) mutually orthogonal? … I understand how principal components works as a linear dimensional reduction method, using the spectral decomposition of some matrix $X$. …
krishnab's user avatar
  • 1,582
7 votes
Accepted

Intuition using linear algebra that the rank of the projection matrix equals the rank of the...

A nonzero $X$ always has an SVD. … Those eigenvectors and eigenvalues exist because both $X^\prime X$ and $XX^\prime$ are nonzero real symmetric matrices: this is part of the Spectral Theorem. …
whuber's user avatar
  • 334k
7 votes
Accepted

Confirming an understanding of SVD

``A common application of SVD is to make low-rank approximations to a matrix, $A$'' This is one of the applications of the SVD but the SVD can do very many mathematical operations: Solve linear equations … This is true for the Frobenius norm as well as the spectral norm, $\|A-B\|_2$, where the spectral norm is defined as the largest singular value of the matrix. …
Vini's user avatar
  • 266
6 votes

What is an intuitive explanation for how PCA turns from a geometric problem (with distances)...

In linear algebra, one of the key theorems is the Spectral Theorem. … The SVD gives new variables (given by the columns of V) that are orthogonal and have decreasing norm. …
meh's user avatar
  • 2,110
6 votes
Accepted

Why does NMF of a symmetric matrix yield orthogonal matrices which are not transpose identical?

I would advise you not to discard SVD-like approaches, since there are many interesting results in spectral theory applied to adjacency matrices, including spectral graph theory, spectral embeddings and … spectral clustering. …
PedroSebe's user avatar
  • 2,690

15 30 50 per page