pymc-marketing
pymc-marketing copied to clipboard
Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more.
> Model was fitted fine and had acceptable results.. I just wasn't able to use the plot_direct_contribution_curve using method.. I ran this same exact code in version 0.6.0 and it...
The time varying contributions are not multiplied out in the method. Having the time_varying forward pass method might be the way to go Reference: https://github.com/pymc-labs/pymc-marketing/blob/a97e272de174aa32859c858fe62bb192b8262b45/pymc_marketing/mmm/delayed_saturated_mmm.py#L544-L548
Following #632, it is very easy to apply different media transformations to different subsets of channels. Here is an example API: Some functions in examples: ```python @dataclass class MediaConfig: name:...
The `attrs` attribute to the saved `InferenceData` object is used to reconstruct the model again. However, when `InferenceData.to_netcdf` is called, the `attrs` attribute is serialized to the netcdf file. We...
Following #867, this would create the attrs which would be store on the InferenceData at initializiation rather than only after `fit` or `sample_prior_predictive`. This would be faster feedback for new...
While working on the upcoming `BetaGeoBetaBinomModel`, I found a closed-form solution in the research paper for the model's probability mass function (PMF). After doing some more digging I realized every...
The `ModelBuilder` class should not have to know which types of classes will be within the `model_config` attribute. Following #867, there is a clear oppurtunity to give `create_idata_attrs` a parameter...
Installing from github will not work if the current version is *already* installed from PyPI as we do not change the version number before a release. This can probably be...
### Discussed in https://github.com/pymc-labs/pymc-marketing/discussions/837 Originally posted by **AlfredoJF** July 17, 2024 Hi, Is it possible to implement callbacks in pymc-marketing? If so, how can I create a callback to monitor...
The `make init` points to `python3`. Is this always referenced in `conda`? If the `make init` command is not working, check the output of `which python3` and ensure that it...