Sum#
- class pymc_marketing.terms.Sum(terms)[source]#
Container for additive composition via
+.Created when terms are composed with the
+operator.Methods
Sum.__init__(terms)Sum.from_dict(data)Reconstruct a sum from its serialized form.
Sum.get_coords(ds)Collect coordinates from all terms.
Sum.named(name[, dims])Record this expression as a named deterministic model variable.
Register shared data for all terms.
Sum.set_data(ds[, model])Update shared data for all terms.
Sum.sum(dim)Sum this expression over one named dimension.
Sum.to_dict([_orig])Attributes