create_sample_kwargs#

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

Create the dictionary of keyword arguments for pm.sample.

Parameters:
sampler_configdict

The configuration dictionary for the sampler.

progressbarbool, optional

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

random_seedRandomState

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.