BaseDelayedSaturatedMMM.compute_channel_curve_optimization_parameters_original_scale#

BaseDelayedSaturatedMMM.compute_channel_curve_optimization_parameters_original_scale(method='sigmoid')#

Experimental: Estimate the parameters for the saturating function of each channel’s contribution.

The function estimates the parameters (alpha, constant) for each channel based on the specified method (either ‘sigmoid’ or ‘michaelis-menten’). These parameters represent the maximum possible contribution (alpha) and the constant parameter which vary their definition based on the function (constant) for each channel.

Parameters:

method (str, required) – The method used to fit the contribution & spent non-linear relationship. It can be either ‘sigmoid’ or ‘michaelis-menten’.

Returns:

A dictionary where keys are channel names and values are tuples (L, k) representing the parameters for each channel based on the method used.

Return type:

Dict