Skip to content

Order of components in CPTensor #360

Answered by cohenjer
HaasCP asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HaasCP
Thanks for your comment. Indeed there is no particular sorting of the components estimated by a decomposition algorithms in tensorly (contrarily to SVD for instance, where they are sorted by decreasing importance).
I am unsure what you are asking for however: if you ask for a particular ordering inside the iterations of an algorithm such as ALS (parafac function), while this is doable I am not convinced this is a feature we desire. Unless you planned to tinker with the parafac code, this should not be helpful to you. On the other hand, if you want to post-process the ALS output automatically (e.g. running a few iterations, shifting output, rerun ALS and so on), you can:

  • normal…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HaasCP
Comment options

Answer selected by HaasCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants