pyttb icon indicating copy to clipboard operation
pyttb copied to clipboard

Optimize only specific modes in cp_als()

Open ghbrown opened this issue 8 months ago • 3 comments

An argument called optdims of type List[int] is added to cp_als() to enable optimizing only the factor matrices of specific modes. This was not previously possible even by scripting around cp_als() since it checks for convergence only after each full sweep. Control flow was hardly altered (dimorder may now just be missing some entries), and the default is of course optimizing all modes.


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

ghbrown avatar Jun 26 '24 23:06 ghbrown