compute_sigmoid_second_derivative#
- pymc_marketing.mmm.utils.compute_sigmoid_second_derivative(x, alpha, lam)[source]#
Compute the second derivative of the extended sigmoid function.
The second derivative of a function gives us information about the curvature of the function. In the context of the sigmoid function, it helps us identify the inflection point, which is the point where the function changes from being concave up to concave down, or vice versa.
- Parameters:
- Returns:
float
The second derivative of the sigmoid function at the input value.