Product#

class pymc_marketing.terms.Product(left, right)[source]#

Container for multiplicative composition via *.

Created when terms are composed with the * operator.

Parameters:
leftAny

Left operand.

rightAny

Right operand.

Methods

Product.__init__(left, right)

Product.from_dict(data)

Reconstruct a product from its serialized form.

Product.get_coords(ds)

Collect coordinates from both operands.

Product.register_data(ds)

Register shared data for both operands.

Product.set_data(ds[, model])

Update shared data for both operands.

Product.to_dict([_orig])

Attributes