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:
- name
str
Name of the Gaussian Process multiplier.
- dims
tuple
[str
,str
] |str
Dimensions for the multiplier.
- time_index
pt.sharedvar.TensorSharedVariable
Shared variable containing time points.
- time_index_mid
int
Midpoint of the time points.
- time_resolution
int
Resolution of time points.
- hsgp_kwargs
HSGPKwargs
Keyword arguments for the Hilbert Space Gaussian Process (HSGP) component.
- name
- Returns:
pt.TensorVariable
Time-varying Gaussian Process multiplier for a given variable.