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

Fuse sparse methods into dense methods #110

Open
kdgutier opened this issue Nov 3, 2022 · 1 comment
Open

Fuse sparse methods into dense methods #110

kdgutier opened this issue Nov 3, 2022 · 1 comment
Assignees

Comments

@kdgutier
Copy link
Collaborator

kdgutier commented Nov 3, 2022

Some methods like TopDown, BottomUp, ERM benefit a lot from sparse matrix operations.

Luckily the numpy's and scipy.sparse's matrix multiplications can both be expressed with .dot method.

It would be convenient to make the HierarchicalForecast library agnostic to the method's sparsity by changing all the corresponding matrix multiplications.

@elephaint
Copy link
Contributor

As of #277, #284 and #281 a number of sparse methods are available as a separate method, using a small wrapper around the base reconciliation class.

Agree that it maybe better to fuse these classes.

@elephaint elephaint self-assigned this Nov 14, 2024
@elephaint elephaint changed the title Change matrix operations -> .dot method Fuse sparse methods into dense methods Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants