Meridian GeoX is now available. Run geo experiments to calibrate your MMM.
Get started here
meridian.model.calibration.base.CalibrationInput
Stay organized with collections
Save and categorize content based on your preferences.
Channel-level container composing one or more incrementality experiment sources.
meridian.model.calibration.base.CalibrationInput(
*,
channel_name: str,
total_spend: float,
baseline_prior: (backend.tfd.Distribution | None) = None,
adstock_decay_spec: str = constants.GEOMETRIC_DECAY,
alpha: float = calibration_constants.DEFAULT_ALPHA
)
Attributes |
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
add_calibration_data(
config: CalibrationData
) -> None
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__
__eq__(
other
)
Return self==value.
Class Variables |
|
adstock_decay_spec
|
'geometric'
|
|
alpha
|
0.5
|
|
baseline_prior
|
None
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],[]]