Skip to main content
def Agent3PredictorWorker.fit(self, inputs, fx_choice=REG.AIG, **params) [source]
Train the PLS-optimized GLM agent on WOE-encoded features. Executes the full two-stage feature selection pipeline (PLS component analysis + shadow pruning), fits the final Logistic Regression, and computes validation diagnostics.

Parameters

inputs : Agent3Input
Training configuration including train_set and
woe_features.
fx_choice : str
The fitting strategy identifier. Defaults to REG.AIG.
**params : dict
Runtime parameters passed to the internal fitter
(glm_alpha, glm_tol, shadow_quantile, cross_val_folds).

Returns

Agent3Predictor
The fitted agent instance.