sigmoid_saturation#

pymc_marketing.mmm.utils.sigmoid_saturation(x, alpha, lam)[source]#

Sigmoid saturation function.

Parameters:
xfloat or np.ndarray

The input value for which the function is to be computed.

alphafloat or np.ndarray

α (alpha): Represent the Asymptotic Maximum or Ceiling Value.

lamfloat or np.ndarray

λ (lambda): affects how quickly the function approaches its upper and lower asymptotes. A higher value of lam makes the curve steeper, while a lower value makes it more gradual.