def __init__(self, learning_rate=0.01, l1_reg=0., l2_reg=0., power_categories=15, include_pairs=False):
        self.include_pairs = include_pairs
        self.learning_rate = learning_rate
        self.power_categories = power_categories
        self.l1_reg = l1_reg
        self.l2_reg = l2_reg
Registers the listener for the GenericDialog.cancel_dialog event.
dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/experiments/categorical.py/CategoricalLinearClassifier.__init__--crossover with--dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/GenericDialog.set_on_cancel_dialog_listener