TanhSaturationBaselinedParameters#
- class pymc_marketing.mmm.transformers.TanhSaturationBaselinedParameters(x0: Variable | Sequence[Variable] | ArrayLike | XTensorVariable | DataArray, gain: Variable | Sequence[Variable] | ArrayLike | XTensorVariable | DataArray, r: Variable | Sequence[Variable] | ArrayLike | XTensorVariable | DataArray)[source]#
Representation of tanh saturation parameters in baselined form.
- Parameters:
- x0
XTensorLike Baseline spend.
- gain
XTensorLike ROAS at \(x_0\).
- r
XTensorLike Overspend Fraction.
- x0
Methods
TanhSaturationBaselinedParameters.count(value, /)Return number of occurrences of value.
Change the parameterization to baselined to be classic saturation and cac.
Return first index of value.
Change the parameterization to baselined at \(x_1\).
Attributes
gainAlias for field number 1
rAlias for field number 2
x0Alias for field number 0