Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TUCKER_ALS: Actually use dimorder when generating random initial guess #283

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

ntjohnson1
Copy link
Collaborator

@ntjohnson1 ntjohnson1 commented Oct 21, 2023

Resolves: #239

MATLAB was clever to skip unnecessary work for the first factor we consider. The iteration loop in pyttb just generated things in numerical order though so if the first dim considered wasn't 0 we would hit this uninitialized value.


📚 Documentation preview 📚: https://pyttb--283.org.readthedocs.build/en/283/

@ntjohnson1 ntjohnson1 marked this pull request as ready for review October 21, 2023 02:29
@dmdunla dmdunla merged commit c1fc6a6 into sandialabs:main Nov 3, 2023
3 of 7 checks passed
@ntjohnson1 ntjohnson1 deleted the nick/tucker_als branch November 3, 2023 11:24
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.

tucker_als() with dimorder throws AttributeError when first dim in dimorder is not 0
2 participants