michaelis_menten#
- pymc_marketing.mmm.transformers.michaelis_menten(x, alpha, lam)[source]#
Evaluate the Michaelis-Menten function for given values of x, alpha, and lambda.
\[\alpha \cdot \frac{x}{\lambda + x}\]- where:
\(x\): Channel spend.
\(\alpha\): Maximum contribution.
\(\lambda\) (k): The half-saturation point.
(
Source code,png,hires.png,pdf)
(
Source code,png,hires.png,pdf)
- Parameters:
- Returns:
floatThe value of the Michaelis-Menten function given the parameters.