-
Notifications
You must be signed in to change notification settings - Fork 14
implement hosvd #56
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
Comments
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. |
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. |
From what you saw, and because I do t want to dig right now (but could later if needed), can you start a Discussion on number testing flavors so we can stare at them and reason about what we want moving forward?
…________________________________
From: Nick Johnson ***@***.***>
Sent: Saturday, March 4, 2023 1:53:52 PM
To: sandialabs/pyttb ***@***.***>
Cc: Dunlavy, Daniel M ***@***.***>; Author ***@***.***>
Subject: [EXTERNAL] Re: [sandialabs/pyttb] implement hosvd (Issue #56)
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.
—
Reply to this email directly, view it on GitHub<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsandialabs%2Fpyttb%2Fissues%2F56%23issuecomment-1454871910&data=05%7C01%7Cdmdunla%40sandia.gov%7C182173c69bc74e1a997f08db1cf291a3%7C7ccb5a20a303498cb0c129007381b574%7C1%7C0%7C638135600379650815%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Z1s%2B4vt1iPZSlB2Pcc6N6K9dzhmFo6U9bqk1WItJwpo%3D&reserved=0>, or unsubscribe<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHIY2IQTVAPV7UC4PQRPKELW2OTWBANCNFSM6AAAAAAVEOHJDY&data=05%7C01%7Cdmdunla%40sandia.gov%7C182173c69bc74e1a997f08db1cf291a3%7C7ccb5a20a303498cb0c129007381b574%7C1%7C0%7C638135600379650815%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4RSUjlpOPlOYY%2FIfGarhf%2BlVIzd4hwkmG8FWvl8CdCM%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Resolved with #67 |
Now that
ttensor
is available, we can implement HOSVDThe text was updated successfully, but these errors were encountered: