MMM.format_recovered_transformation_parameters#

MMM.format_recovered_transformation_parameters(quantile=0.5)[source]#

Format the recovered transformation parameters for each channel.

This function retrieves the quantile of the parameters for each channel and formats them into a dictionary containing the channel name, the saturation parameters, and the adstock parameters.

Parameters:
quantilefloat, optional

The quantile to retrieve from the posterior distribution of the parameters. Default is 0.5.

Returns:
dict

A dictionary containing the channel names as keys and the corresponding saturation and adstock parameters as values.