Pablo de Roque

Results 2 issues of Pablo de Roque

Make `michaelis_meten` consistent with the rest of `SaturationTransformation` by wrapping it as `pt.TensorVariable` ## Description * ~~Rename old `michaelis_menten` as `michaelis_menten_function`. Made to avoid major changes in `mmm.utils.estimate_menten_parameters`'s [L70](https://github.com/pymc-labs/pymc-marketing/blob/f70db336ebf8766e7792279ca4148261f6b18edf/pymc_marketing/mmm/utils.py#L70).~~ *...

bug
MMM

Model initialized as `model = MMM( ..., saturation=MichaelisMentenSaturation(), ...)` Then, after calling `model.fit(X=X, y=y, ...)`, `model.sample_posterior_predictive(X)`, we try to plot the direct contributions by channel with `model.plot_direct_contribution_curves(show_fit=True, ...)`: `AttributeError: 'numpy.ndarray'...

bug
MMM