create_sample_kwargs#

pymc_marketing.mmm.multidimensional.create_sample_kwargs(sampler_config, progressbar, random_seed, **kwargs)[source]#

Create the dictionary of keyword arguments for pm.sample.

Parameters:
sampler_configdict | None

The configuration dictionary for the sampler. If None, defaults to an empty dict.

progressbarbool, optional

Whether to show the progress bar during sampling. Defaults to True.

random_seedRandomState, optional

The random seed for the sampler.

**kwargsAny

Additional keyword arguments to pass to the sampler.

Returns:
dict

The dictionary of keyword arguments for pm.sample.