TanhSaturationBaselinedParameters#
- class pymc_marketing.mmm.transformers.TanhSaturationBaselinedParameters(x0: Variable | Sequence[Variable] | ArrayLike, gain: Variable | Sequence[Variable] | ArrayLike, r: Variable | Sequence[Variable] | ArrayLike)[source]#
Representation of tanh saturation parameters in baselined form.
- Parameters:
- x0
pt.TensorLike
Baseline spend.
- gain
pt.TensorLike
ROAS at \(x_0\).
- r
pt.TensorLike
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
gain
Alias for field number 1
r
Alias for field number 2
x0
Alias for field number 0