wavescholar / klMatrixCore

Core Matrix Functionality. This repository is under active development.
1 stars 0 forks source link

Investigate : The PCA functor does not return the right matrix, or the operator() parameter is useless. #41

Closed wavescholar closed 10 years ago

wavescholar commented 10 years ago
    klPrincipalComponents<double> pcaWishart=SigmaW;        klout(SigmaW);
klMatrix<double> V=pcaWishart(2);                       klout(pcaWishart); klout(V)
klVector<double> wishartEigs=pcaWishart.eigenvalues();  klout(wishartEigs); 
LatexPrintVector<double>(wishartEigs,"W eigs",_tex);
wavescholar commented 10 years ago

pca eigs returns the first eig the rest are uninitialized.

wavescholar commented 10 years ago

The parameter was removed. Additionally an inefficiency / error in the MKL call was corrected. The eigs were placed in a Matrix instead of a vector.