Skip to main content
def Predictor.woe_stabilize(self, data=None, encode=False) [source]
Apply trained WOE stability filtering. Removes WOE features that were flagged as unstable (distribution shift) during training.

Parameters

data : pDF | None
WOE-encoded data. If None, returns the list of
stable WOE features.
encode : bool
If True, applies woe_encode first (expects
binned data). If False, expects WOE-encoded input.

Returns

WoeStabilizerResult | list
• data provided: data subset to stable WOE features only
• data is None: list of stable WOE feature names