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[str,Any]) – The configuration dictionary for the sampler.progressbar (
bool|None) – 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.
- Return type:
- Returns:
The dictionary of keyword arguments for
pm.sample.