Applicable for projects with stored (save=1) models only.
What It Does
Loadsall trained models from a project’s storage.Preprocessesinput data through the full pipeline using trained standards.Predictswith any trained agent or the champion production model.Exposesintermediate stages for diagnostic or custom-chain use.
Pipeline Stages Available
- Data Quality:
fe_clean— type/quality/relevance validation against trained standards. - Stability:
fe_stabilize,obs_stabilize— time-stability filtering and outlier labeling. - Encoding:
num_encode,cat_encode,ixn_encode,woe_encode,woe_stabilize,data_encode— full feature transformation pipeline. - Prediction:
agent1_predict…agent4_predict,champion_predict— model inference.
Two Usage Modes
- preprocess=True (default): Pass original input columns. The full preprocessing pipeline is applied automatically.
- preprocess=False: Pass pre-encoded data (e.g., WOE features). Skips preprocessing — useful for chaining stages or when encoding is applied externally.
Parameters
project : str | Parameters
Base training project. Accepts a project name (str) or
a
are loaded for inference.
a
Parameters object. Defines which trained modelsare loaded for inference.
path : str
Alternative project setup path for comparison. Must
reside within the base project’s
reside within the base project’s
2_Output folder.Training-Serving Symmetry:
- Every transformation uses the parameters locked during training (binning thresholds, imputation values, encoding maps, stability filters).
- No statistics are re-derived at inference time.
- Individual stages (
fe_clean,woe_encode, etc.) can be called independently to inspect intermediate results or build custom pipelines.
- The
champion_predictmethod applies the production model (selected during the Selection stage). - Individual agent predictions (
agent1_predict…agent4_predict) are available for comparison or monitoring.
