Run Parameters
STREAMLINE parameters can be supplied through .cfg files, notebooks, or phase
CLI flags. The recommended full-pipeline path is the config runner:
python run.py -c run_configs/local/uci_binary_hcc.cfg --dry_run
python run.py -c run_configs/local/uci_binary_hcc.cfg
The .cfg parameter names intentionally match the command-line names wherever
possible. This page has two layers: a short set of essential parameters that
most users need to set correctly, followed by a more exhaustive phase-by-phase
reference. Essential parameters are repeated in the exhaustive reference so the
reader can either skim from the top or look up a single phase later.
Use these terms consistently when reading the tables:
Task type means the supervised learning problem:
Binary,Multiclass, orContinuous. This is controlled byoutcome_type.Execution mode means where jobs run:
Serial,Parallel,Local,BashSLURM,BashLSF, or a named Dask cluster. This is controlled byrun_cluster.Run path means how STREAMLINE is launched: a notebook, the full config runner, or an individual phase CLI.
Report mode means whether P11 creates a standard training/CV report or a replication report.
Later phases can load values saved by earlier phases in metadata.pickle and
run_commands.pickle. When a default below says it comes from metadata, the
owning phase is named where possible. For example, outcome labels, feature
types, CV counts, and one-hot settings are saved by P1; imputation, scaling,
and SMOTE settings are saved by P2; feature-learning settings are saved by P3;
feature-importance settings are saved by P4; modeling settings are saved by P6.
Explicit .cfg or CLI values override remembered values.
Essential Parameters To Run STREAMLINE
These are the parameters most users should understand before starting a run.
Start from one of the included files in run_configs/local/ or
run_configs/hpc/, change these values, and use --dry_run to inspect the
resolved phase calls before launching a full analysis.
Every Config Run
These parameters define the run itself. They belong in [run] for config files,
or must be repeated on each individual phase CLI when running phases manually.
Parameter |
Default value |
Where to set it |
Description |
|---|---|---|---|
|
Required |
|
Parent folder where STREAMLINE writes the experiment output. |
|
Required |
|
Name of the experiment folder created under |
|
|
|
Outcome column in the input data. P1 records it for later phases. |
|
P1 can infer; later phases should be explicit |
|
Task type: |
|
|
|
Optional row identifier column. P1 records it and excludes it from modeling. |
|
|
|
Number of cross-validation folds. Demo configs use |
|
|
|
Execution mode. Use |
|
Phase-specific, often |
|
Seed for reproducible CV partitioning, imputation/SMOTE, feature learning, modeling, and ensembles. |
|
|
|
Ordered list of phases for the config runner. |
|
|
|
Phase toggles. P10 also requires replication paths; P7 is skipped for continuous outcomes. |
Phase-Specific Essentials
These parameters decide what data are analyzed, how features are handled, which models run, and which reports are produced. They are grouped by the phase that first uses or remembers them.
Parameter |
Default value |
Where to set it |
Description |
|---|---|---|---|
|
Required for P1 |
|
Folder containing one or more input |
|
|
|
Optional file listing categorical feature names. Recommended when feature types matter. |
|
|
|
Optional file listing quantitative feature names. Recommended with |
|
|
|
Optional file or list of feature names to exclude before modeling. |
|
|
|
CV strategy. Continuous outcomes are forced to |
|
|
|
Expand non-binary categorical features in P1. If |
|
P2 remembered value, fallback |
|
Applies scaling in P2 and records whether scaled data was used in summary/reporting. |
|
P2 remembered value, fallback |
|
Enables missing-value imputation for CV train/test folds. |
|
P2 remembered value, fallback |
|
Enables classification-only training-fold oversampling after imputation and scaling. |
|
All available non-excluded P6 models |
|
Model IDs to train, such as |
|
|
|
Optional JSON or Python-literal dictionary of model-specific overrides. See Model Parameter JSON. |
|
|
|
Primary modeling/evaluation metric. Use |
|
|
|
Optuna optimization direction. Use |
|
|
|
Maximum Optuna trials per model/CV job. |
|
|
|
Maximum Optuna time budget in seconds per model/CV job. |
|
|
|
Optional cap on training rows for models that explicitly allow subsampling. |
|
|
|
When |
|
Required for P10 |
|
Folder containing replication/external-validation datasets. |
|
Required for P10 |
|
Original training dataset path used to identify the trained dataset output folder. |
|
|
|
Report types generated by the config runner. |
CLI-only controls are prefixed with -- in the exhaustive reference. They are
not written into .cfg files. Use them to choose a config file, dry-run a
config, run only part of the phase order, list registry methods, or control
saved run-command reuse.
Config Template Folders
The run_configs/ directory is organized by execution environment:
Folder |
Use case |
Included examples |
|---|---|---|
|
Local serial, local joblib |
Binary HCC, multiclass student dropout, and regression Auto MPG demo configs. |
|
Scheduler-oriented templates that use |
|
The original top-level demo configs are still kept for backward compatibility, but new examples should point users to the environment-specific subfolders.
Full Parameter Reference By Phase
Defaults below are the current runner defaults when a parameter is omitted. Where noted, later phases may load the value from experiment metadata saved by earlier phases.
Config Runner Controls
These are command-line controls for python run.py -c ..., not .cfg keys.
Parameter |
Default value |
Description |
|---|---|---|
|
Required |
Path to a STREAMLINE |
|
|
Print resolved phase runner calls without running phases. |
|
|
Start at a phase alias such as |
|
|
Stop after a phase alias such as |
|
|
Run only a comma-separated set of phase aliases. |
|
|
Skip a comma-separated set of phase aliases. |
|
|
Python logging level for the config runner. |
Phase Toggles
Parameter |
Default value |
Description |
|---|---|---|
|
|
Phase order used by the config runner. |
|
|
Run P1 data exploration and processing. |
|
|
Run P2 imputation, scaling, and optional SMOTE. |
|
|
Run P3 feature learning. |
|
|
Run P4 feature importance. |
|
|
Run P5 feature selection. |
|
|
Run P6 modeling. |
|
|
Run P7 ensembles. P7 is skipped automatically for continuous outcomes. |
|
|
Run P8 summary statistics and plots. |
|
|
Run P9 dataset comparison. P9 skips itself when fewer than two datasets are available. |
|
|
Run P10 replication or external validation. |
|
|
Run P11 reporting. |
|
|
Per-phase override for disabling an individual phase section, commonly used as |
|
Not set |
Old-style broad toggle that enables or disables all phases when present. |
|
Not set |
Old-style broad toggle for running phases through the standard report path. |
P1 Data Process
Parameter |
Default value |
Description |
|---|---|---|
|
Required |
Folder containing raw input datasets, or omitted only when importing prebuilt CV datasets. |
|
|
Optional list of EDA outputs to skip, such as |
|
|
Optional column label used when matching or harmonizing datasets. |
|
|
Optional file or list of feature names to exclude. |
|
|
Optional feature-name file for categorical variables. |
|
|
Optional feature-name file for quantitative variables. |
|
|
Number of top features shown in applicable P1 summaries. |
|
|
If feature-type files are absent, features with at most this many unique values may be treated as categorical. |
|
|
Statistical significance threshold used in P1 analyses. |
|
|
Missingness threshold for creating missingness indicator features. |
|
|
Missingness threshold for removing high-missingness features or instances. |
|
|
Correlation threshold for removing highly correlated features. |
|
|
CV partitioning strategy. Continuous outcomes are forced to |
|
|
Display P1 plots interactively. Usually |
|
|
Expand non-binary categorical features during P1 processing. |
|
|
Import existing CV train/test files instead of creating CV splits from raw datasets. |
|
|
Root folder containing prebuilt |
|
|
Master toggle for optional P1 plot generation. |
|
|
Generate missingness plots. |
|
|
Generate outcome/class count plots. |
|
|
Generate correlation plots. |
|
|
Maximum number of features included in correlation plots. |
|
|
Generate univariate feature analysis plots. |
|
|
Number of top univariate features to display. |
|
|
Generate anomaly/outlier plots when available. |
|
|
Overwrite existing P1 outputs. Demo configs set this to |
P2 Impute, Scale, And Balance
Parameter |
Default value |
Description |
|---|---|---|
|
P2 saved metadata, fallback |
Scale features using the selected scaler. |
|
P2 saved metadata, fallback |
Impute missing feature values. |
|
P2 saved metadata, fallback |
Use multivariate imputation for quantitative features when supported. |
|
|
Rewrite CV train/test files with P2 outputs. |
|
P1 saved metadata, fallback |
Outcome column. |
|
P1 saved metadata, fallback |
Learning task type. |
|
P1 saved metadata, fallback |
Optional row identifier column. |
|
P1/P2 saved metadata, fallback |
Seed for stochastic imputers or SMOTE. |
|
P2 saved metadata, fallback |
Registry imputer ID. |
|
P2 saved metadata, fallback |
Dictionary of imputer parameters. |
|
P2 saved metadata, fallback |
Registry scaler ID. |
|
P2 saved metadata, fallback |
Dictionary of scaler parameters. |
|
P2 saved metadata, fallback |
Apply classification-only oversampling to training folds after imputation and scaling. |
|
P2 saved metadata, fallback |
|
|
P2 saved metadata, fallback |
Sampling strategy passed to imbalanced-learn. |
|
P2 saved metadata, fallback |
Neighbor count passed to SMOTE or SMOTENC. |
|
|
CLI-only utility: list discovered imputer registry IDs and exit. |
|
|
CLI-only utility: list discovered scaler registry IDs and exit. |
P3 Feature Learning
Parameter |
Default value |
Description |
|---|---|---|
|
P3 saved metadata, fallback |
Feature learner registry ID. |
|
P3 saved metadata, fallback |
Dictionary of learner parameters. |
|
P3 saved metadata, fallback |
Prefix/namespace for learned feature names. |
|
P3 saved metadata, fallback |
Keep original features alongside learned features. |
|
|
Rewrite CV train/test files with P3 outputs. |
|
P1 saved metadata, fallback |
Outcome column. |
|
P1 saved metadata, fallback |
Optional row identifier column. |
|
P1/P3 saved metadata, fallback |
Seed for stochastic learners. |
|
|
CLI-only utility: list discovered feature-learning registry IDs and exit. |
P4 Feature Importance
Parameter |
Default value |
Description |
|---|---|---|
|
P4 saved metadata, fallback all registered FI methods |
Feature-importance methods to run, such as |
|
P4 saved metadata, fallback ReBATE |
Per-method parameter dictionary. STREAMLINE injects saved categorical feature indexes for ReBATE methods. |
|
P4 saved metadata, fallback |
Optional top-k selector control for model-specific selected outputs. |
|
P4 saved metadata, fallback |
Optional score threshold for model-specific selected outputs. |
|
P4 saved metadata, fallback |
Keep original features in selected-output artifacts when generated. |
|
|
Overwrite P4 model-specific outputs. Shared CV files are not mutated by P4. |
|
P1 saved metadata, fallback |
Outcome column. |
|
P1 saved metadata, fallback |
Learning task type passed to compatible FI methods. |
|
P1 saved metadata, fallback |
Optional row identifier column. |
|
P1/P4 saved metadata, fallback |
Seed for stochastic FI methods. |
|
P4 saved metadata, fallback |
Optional row cap for expensive FI methods. No subsampling is used when |
|
|
CLI-only utility: list discovered feature-importance methods and exit. |
P5 Feature Selection
Parameter |
Default value |
Description |
|---|---|---|
|
|
FI algorithms considered by the selector. |
|
|
Number of CV folds expected in FI outputs. Usually inherited from |
|
P1 saved metadata, fallback |
Outcome column. |
|
P1 saved metadata, fallback |
Optional row identifier column. |
|
|
Upper bound on selected features after combining FI rankings. |
|
|
Remove features with consistently poor or zero FI evidence. |
|
|
Overwrite P5 selected CV outputs. |
|
|
Feature selector registry ID. |
|
|
Dictionary of selector parameters. |
|
|
Write feature-selection score summaries. |
|
|
Number of top features shown in P5 plots/summaries. |
|
|
Display P5 plots interactively. |
|
|
Require all expected CV FI files for an algorithm during |
|
|
CLI-only utility: list available/discovered FI algorithms and exit. |
P6 Modeling
Parameter |
Default value |
Description |
|---|---|---|
|
|
Modeling task: |
|
|
Backward-compatible alias for |
|
All available non-excluded models for the task |
Model registry IDs. eLCS is excluded from default discovery. |
|
|
Optional JSON or Python-literal mapping of model IDs to parameter overrides. See Model Parameter JSON. |
|
|
Enable probability calibration for classification models. |
|
|
Calibration method, usually |
|
|
Internal CV folds used for calibration. |
|
|
Optuna/evaluation metric. Regression configs should use a regression metric such as |
|
|
Optuna optimization direction. |
|
|
Maximum Optuna trials per model/CV job. |
|
|
Maximum Optuna seconds per model/CV job. |
|
|
Optional training subset size for models with |
|
|
Use uniform permutation FI handling when supported. |
|
|
Save model-level plots generated during modeling. |
|
|
When |
|
|
Allow the native categorical model path when P1 was run with |
|
|
Allowed native-categorical model IDs when one-hot encoding is bypassed. |
|
|
CLI-only utility: list default model IDs for the selected task and exit. |
|
|
CLI-only utility: list all registered model IDs for all tasks and exit. |
P6 records Optuna trial accounting in model outputs so reports can show how many trials actually ran within the requested budget.
By default, P6 reruns the requested model/CV jobs and overwrites existing model
artifacts. Use skip_completed_models = True in a config file, or
--skip_completed_models 1 on the P6 CLI, when you want recovery behavior that
skips completed job_model_* markers and runs only failed or missing jobs.
P7 Ensembles
P7 is classification-only. The config runner skips P7 automatically for continuous outcomes.
Parameter |
Default value |
Description |
|---|---|---|
|
|
Ensemble registry IDs. |
|
|
Base model predictions to combine. |
|
|
Source for stacking meta-training data: |
|
|
Enable calibration for ensemble probabilities when supported. |
|
|
Calibration method, usually |
|
|
Internal CV folds used for calibration. |
|
|
Seed for stochastic ensemble behavior. |
|
|
CLI-only utility: list ensemble registry IDs and exit. |
P8 Summary Statistics
Parameter |
Default value |
Description |
|---|---|---|
|
P1/P6 saved metadata, fallback |
Learning task used to choose classification or regression summaries. |
|
|
Primary metric label used in summaries. |
|
|
Metric used to weight composite model FI plots. Continuous outcomes default to |
|
|
Number of top features shown in composite FI visualizations. |
|
|
Statistical significance threshold for comparisons. |
|
|
Metadata/reporting flag indicating whether scaled data are being summarized. |
|
|
Comma-separated plots to skip, such as |
|
|
Display P8 plots interactively. |
|
|
Include P7 ensemble outputs in summaries when present. |
|
|
Multiclass averaging mode for ROC/PRC summaries: |
P9 Compare Datasets
Parameter |
Default value |
Description |
|---|---|---|
|
|
Outcome column. |
|
|
Learning task type. |
|
|
Optional row identifier column. |
|
|
Statistical significance threshold for between-dataset comparisons. |
|
|
Display P9 plots interactively. |
P9 compares datasets within the same experiment and writes a skipped marker when
fewer than two dataset folders with CVDatasets/ are present.
P10 Replication
Parameter |
Default value |
Description |
|---|---|---|
|
Required |
Folder containing external replication datasets. |
|
Required |
Original training dataset path used to identify the trained dataset output folder. |
|
P1 saved metadata |
Optional override for the outcome column. |
|
P1 saved metadata |
Optional override for the row identifier column. |
|
|
Optional label used to match or harmonize replication inputs. |
|
|
Comma-separated plots to skip, such as |
|
|
Display replication plots interactively. |
P11 Reporting
Parameter |
Default value |
Description |
|---|---|---|
|
Required unless |
Direct path to the experiment output folder. |
|
Required unless |
Parent output folder. |
|
Required unless |
Experiment folder name. |
|
|
Optional directory for report artifacts. |
|
|
Config-runner convenience parameter for generating multiple report modes, such as |
|
|
Single report mode: |
|
|
Outcome column used in report labels. |
|
|
Learning task type used in report labels and metric filtering. |
|
|
Optional row identifier column. |
|
|
Export a PDF report. |
|
|
Generate missing report plots when possible. |
|
|
Reuse existing report figure PNGs when available. Set to |
Saved Run Command Controls
All phase CLIs support these run-command controls.
Flag |
Default value |
Description |
|---|---|---|
|
|
Ignore |
|
|
Do not update |
Use these flags when you want to run a phase with explicit command-line values instead of reusing arguments saved from a previous run.