base#

Base class for adstock and saturation functions used in MMM.

Use the subclasses directly for custom transformations:

Functions

get_plot_coords(coords)

get_total_coord_size(coords)

selections(coords)

Helper to create generator of selections.

set_subplot_kwargs_defaults(subplot_kwargs, ...)

Classes

Transformation([priors, prefix])

Base class for adstock and saturation functions.

Exceptions

MissingDataParameter()

Error if the function doesn't have a data parameter.

ParameterPriorException(priors, parameters)

Error when the functions and specified priors don't match up.