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

implement hosvd #56

Closed
dmdunla opened this issue Feb 22, 2023 · 5 comments · Fixed by #67
Closed

implement hosvd #56

dmdunla opened this issue Feb 22, 2023 · 5 comments · Fixed by #67
Assignees

Comments

@dmdunla
Copy link
Collaborator

dmdunla commented Feb 22, 2023

Now that ttensor is available, we can implement HOSVD

@ntjohnson1 ntjohnson1 self-assigned this Mar 4, 2023
@ntjohnson1
Copy link
Collaborator

Sketched out the initial core functionality https://github.com/ntjohnson1/pyttb/tree/hosvd should be able to finish it out in the next week or two. Mostly just need to do some more numerical testing to sanity check the mapping changes between matlab and python. If someone needs it sooner they are welcome to build off the base.

@dmdunla
Copy link
Collaborator Author

dmdunla commented Mar 4, 2023 via email

@nick-cerebras
Copy link

nick-cerebras commented Mar 4, 2023

Sounds good. I'll hold off then.

I was exploring going in the directions of numbers.Real since it seemed to be a more general solution for detecting generic scalars, but unfortunately it doesn't seem to be compliant with mypy type validation. Currently across pyttb we test for numeric scalars in a variety of different ways. Eventually we probably just centralize some of that to a utility to make sure we stay consistent. I think we can just use float but am not sure if there was some edge case why we were checking for so many other things before.

@dmdunla
Copy link
Collaborator Author

dmdunla commented Mar 4, 2023 via email

@ntjohnson1 ntjohnson1 mentioned this issue Mar 16, 2023
@ntjohnson1 ntjohnson1 linked a pull request Mar 16, 2023 that will close this issue
@ntjohnson1
Copy link
Collaborator

Resolved with #67

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 a pull request may close this issue.

3 participants