Workbench hub · UI route /train

Train & audit

Configure a task, start training or multi-model compare, and run the leakage audit job against the active artifact.

Train page
Train — presets, model options, job log

Controls in detail

ControlWhat it does
Task presetLoads YAML from tasks/ (horizon, windows, labels)
Data path / formatDefaults to data/demo/ehr_data.csv for the teaching longitudinal preset; accepts longitudinal events or flat tabular CSV
Modellogreg · random_forest · xgboost · lightgbm (if installed)
Isotonic calibrateFits calibration; reports Brier / ECE
Patient-level splitSame patient never in train and hold-out
Temporal patient splitTests future performance when timestamps exist
Multi-window featuresw7d_ / w30d_ / w180d_ aggregates
Index strategylast_event · before_last · column

Jobs

Live job panel shows status, message, and log tail.

Fine-tuning playbook · Results · Temporal design