You need to rescale the values in your mmm.optimal_allocation_dict
multiplying by mmm.channel_transformer["scaler"].scale_
. See the example below:
allocate_spend = (
np.array(list(mmm.optimal_allocation_dict.values()))
* mmm.channel_transformer["scaler"].scale_
)
Hope that helps!