You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of hierarchical model config in #743, the operations on variable var with dims dims in order to broadcast with dims desired_dims was hardcoded up to 3D. That code here:
If this functionality doesn't already exist in numpy or pytensor, then functions like expand_dims, swapaxes, transpose might be helpful. Could exist in xarray itself since they autoalign data but not too sure.
This would be super helpful for #749 and generalizing the functionality of MMMs
The text was updated successfully, but these errors were encountered:
With the introduction of hierarchical model config in #743, the operations on variable
var
with dimsdims
in order to broadcast with dimsdesired_dims
was hardcoded up to 3D. That code here:pymc-marketing/pymc_marketing/model_config.py
Lines 125 to 151 in 4b6607a
and implemented here:
pymc-marketing/pymc_marketing/model_config.py
Lines 200 to 213 in 4b6607a
Some test cases might look like this:
If this functionality doesn't already exist in numpy or pytensor, then functions like
expand_dims
,swapaxes
,transpose
might be helpful. Could exist in xarray itself since they autoalign data but not too sure.This would be super helpful for #749 and generalizing the functionality of
MMM
sThe text was updated successfully, but these errors were encountered: