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.
stable WOE features.
encode : bool
If True, applies
binned data). If False, expects WOE-encoded input.
woe_encode first (expectsbinned 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
• data is None: list of stable WOE feature names
