create_time_varying_gp_multiplier#

pymc_marketing.mmm.tvp.create_time_varying_gp_multiplier(name, dims, time_index, time_index_mid, time_resolution, hsgp_kwargs)[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.

hsgp_kwargsHSGPKwargs

Keyword arguments for the Hilbert Space Gaussian Process (HSGP) component.

Returns:
pt.TensorVariable

Time-varying Gaussian Process multiplier for a given variable.