meridian.model.calibration.base.CalibrationInput

Channel-level container composing one or more incrementality experiment sources.

channel_name Name of the channel for which the calibration information is associated.
total_spend The total spend of the channel in the Meridian model.
baseline_prior The tfd.Distribution representing the baseline prior for the KPI. If provided, the baseline prior will regularize the incrementality experiment results. Default is None. If None, an improper uniform distribution over the positive real numbers is used.
adstock_decay_spec Adstock decay specification used in duration adjustments. This can be either 'geometric' or 'binomial', or a Mapping from channel name to the decay function string. Default is 'geometric'.
alpha The decay rate parameter (between 0 and 1 inclusive) used for duration adjustments. It determines the proportion of the total media effect captured during the experiment window. This can be either a float or a Mapping from channel name to float. Default is 0.5.
configs The registered calibration configs.

Methods

add_calibration_data

View source

Attaches a resolved CalibrationData to this channel container.

Args
config The CalibrationData to attach.

Raises
ValueError If the experiment spend exceeds the total channel spend.

__eq__

Return self==value.

adstock_decay_spec 'geometric'
alpha 0.5
baseline_prior None