sigmoid_saturation#

pymc_marketing.mmm.utils.sigmoid_saturation(x, alpha, lam)[source]#
Parameters:
  • alpha (float | ndarray | ndarray[Any, dtype[float64]]) – α (alpha): Represent the Asymptotic Maximum or Ceiling Value.

  • lam (float | ndarray | ndarray[Any, dtype[float64]]) – λ (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.

Return type:

Union[float, Any]