meridian.model.eda.eda_spec.AggregationConfig

A configuration for customizing variable aggregation functions.

The aggregation function can be called in the form f(x, axis=axis, **kwargs) to return the result of reducing an np.ndarray over an integer valued axis. It's recommended to explicitly define the aggregation functions instead of using lambdas.

control_variables
A dictionary mapping control variable names to aggregation functions. Defaults to np.sum if a variable is not specified.
non_media_treatments
A dictionary mapping non-media variable names to aggregation functions. Defaults to np.sum if a variable is not specified.

Methods

__eq__

Return self==value.

Design a Mobile Site
View Site in Mobile | Classic
Share by: