Replies: 6 comments 9 replies
-
in my case, even if the the eig algorith is different, i obtain the same results doing qr decomposition and scipy method consume less memory, because they save in the memory only the important information |
Beta Was this translation helpful? Give feedback.
-
E, V = np.linalg.eig(cov_mat.data.values) |
Beta Was this translation helpful? Give feedback.
-
The scipy docs indicate that the sparse eigs solver only returns k eigenvalues (with k=6) by default. This is no bug to me |
Beta Was this translation helpful? Give feedback.
-
Recap of in-person discussion with @EnricaBelfiore and @GrimFe . The
The latter will be implemented with a kwarg called |
Beta Was this translation helpful? Give feedback.
-
See here the analytical solutions of the eigenvalues of a 3x3 correlation matrix as a function of the correlation coefficients |
Beta Was this translation helpful? Give feedback.
-
@luca-fiorito-11 @AitorBengoechea
When trying to identify the relevant eigenvalues of the Pu239 covariance matrix, @EnricaBelfiore and I noticed a possible issue with the latest implementation.
Only six eigenvalues (the larger ones) are now returned by
eig
method ofCategoryCov
.This is of course not coherent with the matrix shape and should be clarified.
Even if in the reported case further eigenvalues are low (despite them not being zero), this truncation to the sixth eigenvalue happens also when considering U233 covariance matrix. There the seventh eigenvalue is of the same order of magnitude as the sixth, suggesting the truncation is not order of magnitude-based. Moreover, in our opinion all the eigenvalues should be returned to get the best possible matrix representation.
It is worth noticing that
np.linalg.eig(cov.data)
reports all the eigenvalues, meaning there is no lack of information, but rather an error in eigenvalue calculation. Browsing for this issue, we found this scipy/scipy#11198 reporting a possible error inscipy.sparse.linalg.eigs()
, which might be a good starting point for debugging.Example of what reported in the following - considering U233:
Beta Was this translation helpful? Give feedback.
All reactions