pymc-marketing icon indicating copy to clipboard operation
pymc-marketing copied to clipboard

Support of >2d parameter dims in `MediaConfigList`

Open wd60622 opened this issue 5 months ago • 0 comments

The MediaConfigList should support more than (date, channel) inputs as the AdstockTransformation and SaturationTransformation do.

For instance, the following will likely not work:

# (date, channel, geo)
X = ...

media_transformation = MediaConfigList(...)

coords = {
    "date": ..., 
    "channel": ...,
    "geo": ...,
}
with pm.Model(coords=coords):
    transformation = media_transformation(X)

wd60622 avatar Aug 29 '24 20:08 wd60622