Skip to content

PARAFAC2: hybridize SVD init for high rank and add warning/tests#617

Open
MiklosKralik wants to merge 1 commit intotensorly:mainfrom
MiklosKralik:feature/parafac2-svd-random-hybrid-init
Open

PARAFAC2: hybridize SVD init for high rank and add warning/tests#617
MiklosKralik wants to merge 1 commit intotensorly:mainfrom
MiklosKralik:feature/parafac2-svd-random-hybrid-init

Conversation

@MiklosKralik
Copy link
Copy Markdown

I've run into a use-case of PARAFAC2 where I would like to initialize the decomposition with svd features (for a sensible initialization) but would like to allow for the decomposition to fit a higher rank than the dimension of the data. I've added some logic to concatenate svd initialized rankd with randomly initialized ranks for this use case.

I've added a UserWarning as this use case is rare and the user should be intentional when specifying a high rank. I've also added a unittest of rebroducibility for this init mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant