InverseScaledLogisticSaturation#
- class pymc_marketing.mmm.components.saturation.InverseScaledLogisticSaturation(priors=None, prefix=None)[source]#
Wrapper around inverse scaled logistic saturation function.
For more information, see
pymc_marketing.mmm.transformers.inverse_scaled_logistic_saturation().(
Source code,png,hires.png,pdf)
Methods
InverseScaledLogisticSaturation.apply(x[, dims])Called within a model context.
Plot curve HDI and samples.
Plot the HDI of the curve.
Plot samples from the curve.
Sample the curve of the saturation transformation given parameters.
Sample the priors for the transformation.
Convert the transformation to a dictionary.
Helper to update the priors for a function after initialization.
Attributes
default_priorsfunction_priorslookup_namemodel_configMapping from variable name to prior for the model.
prefixvariable_mappingMapping from parameter name to variable name in the model.