BoundInteraction#

class superglm.BoundInteraction(
name: str,
_spec: InteractionSpec,
_requires_spline_parents: bool = False,
)#

Bases: object

An interaction declaration for use inside a family predictor.

Create one with ti or interaction. Its parent terms must also be declared in that predictor. name identifies the interaction in results.

property spec: InteractionSpec#

Return an independent copy of the interaction configuration.