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 (str | Sequence[str | None]) – Dimensions for the multiplier.

  • time_index (XTensorVariable) – 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.

Return type:

XTensorVariable

Returns:

Time-varying Gaussian Process multiplier for a given variable.