Skip to main content
def Predictor.agent2_predict(self, data, preprocess=False) [source]
Predict with Agent 2 on input data.

Parameters

data : pDF
Input data.
preprocess : bool
If True, applies the full preprocessing pipeline
(clean → encode) before prediction. If False,
expects WOE-encoded data.

Returns

Agent2Result
P(class=1) + feature lineage metadata.