Opened 13 years ago
Closed 13 years ago
#300 closed defect (fixed)
PCA sorts eigen vectors using N*N algo
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | minor | Milestone: | yat 0.5 |
Component: | utility | Version: | |
Keywords: | Cc: |
Description
Why not use std::sort here? Eigen vectors are sorted in order of corresponding eigen value. This could be solved by having a pair<eigenvalue, eigenvector>
Change History (5)
comment:1 Changed 13 years ago by
Milestone: | yat 0.5 → yat 0.x+ |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
We want the eigenvalues to be ordered in a non-increasing order just like what SVD is returning.
Sorry for the confusion.
comment:4 Changed 13 years ago by
Milestone: | yat 0.x+ → yat 0.5 |
---|---|
Owner: | changed from Jari Häkkinen to Peter |
Status: | new → assigned |
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
As I understand the GSL manual, the single values are always ordered in non-increasing order. We want our eigenvalues to ordered in a non-decreasing order. Instead of doing a complete sort, the values could simply be reversed (scaling N rather N*N).