Re: How can I compute eigenvectors?



Jeremy Watts <jwatts1970@xxxxxxxxxxx> wrote:

> "Murat Aykut" <murat_aykut@xxxxxxxxx> wrote in message
> news:1115995167.751620.305730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> >I am a Computer Engineering student. And, on my project I must do PCA
> > training. So, I have computed eigenvalues via QR algorithm.

If you're doing PCA, your matrix is probably rectangular, not? In that
case you're doing singular values, not eigenvalues.

> I too have recently written a computer program that finds eigenvalues via
> the QR algorithm. As you know the QR algorithm effectively produces a Schur
> decomposition such that a general matrix 'A' can be written A = UTU* where
> 'U' is a unitary matrix and 'T' is upper triangular and '*' represents the
> conjugate transpose.

For rectangular A that becase UTV', where the size of T is the rank of
A.

> With each iteration of the QR algorithm we generate a 'Q matrix' and an 'R
> matrix' and from these form the matrix product 'RQ' which is then further
> QR decomposed and so on.

And that's where my knowledge ends. I can imagine that this doesn't work
for rectangular matrices.

V.
--
email: lastname at cs utk edu
homepage: www cs utk edu tilde lastname
.



Relevant Pages

  • displaying images
    ... i have an algorithm that displays 5 top matches of an image from a database, ... % eigenvalues and eigenvectors of the "reduced" matrix A'*A ... % pesi_database_mediati is a matrix with the averaged eigenface components of the images ...
    (comp.soft-sys.matlab)
  • Re: PROC MDS with preference rankings
    ... same object space as the PCA ... Metric MDS on Euclidean ... That depends on which convention you follow for determining loadings ... length eigenvectors multiplied by the square roots of the eigenvalues, ...
    (sci.stat.consult)
  • Re: Linear regression vs. vectors from principal components analysis
    ... Run the PCA. ... The eigenvalues changed. ... PCA is in no way a substitute for regression. ... Both methods start with the covariance matrix. ...
    (sci.stat.consult)
  • Re: incorrect convergence of qr algorithm
    ... >> i have written an eigenvalue finder that uses the qr algorithm, ... i seem to get the wrong values upon convergence. ... have all eigenvalues on the unit circle in the complex plane. ... then complex eigenvalues appear as complex conjugates and no real shift can break ...
    (sci.math.num-analysis)
  • Re: sample size vs. principal component analysis (PCA)
    ... How sample size of the data affect the accuracy of PCA? ... eigenvalues that are "close together", a large sample size will be ... I hope you dance -- Lee Ann Womack ...
    (sci.stat.math)