handle_parameter_distributions#
- pymc_marketing.model_config.handle_parameter_distributions(name, param_distributions, dim_handler)[source]#
Loop over the parameter configurations and handle them.
- name: str
name of the variable
- param_distributions: Dict
a dictionary with parameter names mapping to parameter configurations
- dim_handler: Callable
a function that maps variable shapes to the desired dims
- Returns:
Dicta dictionary with parameter names mapping to parameter values or PyMC random variables