CategoricalInteraction#

class superglm.CategoricalInteraction(cat1_name: str, cat2_name: str)#

Bases: object

Cross-product interaction between two categorical features.

Produces a single group of (L1-1) * (L2-1) indicator columns for all non-base level pairs.