sandialabs / pyttb

Python Tensor Toolbox
https://pyttb.readthedocs.io
BSD 2-Clause "Simplified" License
21 stars 12 forks source link

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

Closed ntjohnson1 closed 10 months ago

ntjohnson1 commented 11 months ago

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.


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