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_config
dict The configuration dictionary for the sampler.
- progressbarbool, optional
Whether to show the progress bar during sampling. Defaults to True.
- random_seed
RandomState The random seed for the sampler.
- **kwargs
Any Additional keyword arguments to pass to the sampler.
- sampler_config
- Returns:
dictThe dictionary of keyword arguments for
pm.sample.