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.
Some methods like
TopDown
,BottomUp
,ERM
benefit a lot from sparse matrix operations.Luckily the
numpy
's andscipy.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.