create_time_varying_gp_multiplier#

pymc_marketing.mmm.tvp.create_time_varying_gp_multiplier(name, dims, time_index, time_index_mid, time_resolution, model_config)[source]#

Create a time-varying Gaussian Process multiplier.

Create a time-varying Gaussian Process multiplier based on the provided parameters.

Parameters:
namestr

Name of the Gaussian Process multiplier.

dimstuple[str, str] | str

Dimensions for the multiplier.

time_indexpt.sharedvar.TensorSharedVariable

Shared variable containing time points.

time_index_midint

Midpoint of the time points.

time_resolutionint

Resolution of time points.

model_configdict

Configuration dictionary for the model.

Returns:
pt.TensorVariable

Time-varying Gaussian Process multiplier for a given variable.