Output
STREAMLINE writes outputs under:
<output_path>/<experiment_name>/
For example:
out/UCIHCCPipeline/
Experiment-Level Files
Common experiment-level outputs include:
Path |
Description |
|---|---|
|
Experiment metadata saved by P1, including dataset names, outcome settings, CV settings, and feature-type settings. |
|
Resolved pipeline/config parameters used by the run. |
|
Saved resolved phase arguments for repeat runs. |
|
Scheduler/job scripts created for BashSLURM or BashLSF runs. |
|
Scheduler stdout/stderr logs for BashSLURM or BashLSF runs. |
|
P9 cross-dataset comparison outputs. |
|
Standard P11 report. |
|
Replication P11 report. |
|
Completion markers for orchestration. |
|
Experiment-level runtime files, including P9 and P11 timing when those phases run. |
jobsCompleted/ is mainly for STREAMLINE orchestration. It is useful when
debugging scheduler runs, but it is not usually the first place to inspect
scientific results.
How To Check A Run Quickly
After a full demo run, check for these files first:
<output_path>/<experiment_name>/<dataset>/model_evaluation/Summary_performance_mean.csv
<output_path>/<experiment_name>/reporting/<experiment_name>_STREAMLINE_Report.pdf
If P10/P11 replication ran, also check:
<output_path>/<experiment_name>/<dataset>/replication/<rep_dataset>/model_evaluation/Summary_performance_mean.csv
<output_path>/<experiment_name>/reporting_replication/<experiment_name>_STREAMLINE_Replication_Report.pdf
Directory Tree
A typical single-dataset experiment looks like this. Some folders appear only when the corresponding phase is run.
<output_path>/<experiment_name>/
├── metadata.pickle
├── run_params.pickle
├── run_commands.pickle
├── jobs/
├── logs/
├── jobsCompleted/
├── runtime/
├── DatasetComparisons/
├── reporting/
│ ├── <experiment_name>_STREAMLINE_Report.pdf
│ ├── report_data.json
│ └── figures/
├── reporting_replication/
│ ├── <experiment_name>_STREAMLINE_Replication_Report.pdf
│ ├── report_data.json
│ └── figures/
└── <dataset>/
├── exploratory/
├── CVDatasets/
├── impute_scale/
├── feature_learning/
├── feature_importance/
├── feature_selection/
├── models/
├── model_evaluation/
├── ensemble_evaluation/
├── runtime/
└── replication/
For multi-dataset experiments, STREAMLINE creates one <dataset>/ folder for
each input dataset under the same experiment root. P9 writes
DatasetComparisons/ only when at least two dataset folders are available for
comparison.
Dataset-Level Folders
Each dataset gets a folder under the experiment directory:
Folder |
Produced by |
Description |
|---|---|---|
|
P1 |
DataProcessSummary, missingness, feature typing, class counts, and EDA summaries. |
|
P1-P5 |
Train/test CV datasets, including selected feature versions. |
|
P2 |
Imputation/scaling metadata and artifacts. |
|
P3 |
Learned feature manifests and feature lists. |
|
P4 |
Feature score files by method and CV. |
|
P5 |
Informative feature summaries and selected feature artifacts. |
|
P6 |
Fitted models, predictions, metrics, and Optuna accounting. |
|
P6/P8 |
Summary metrics and model plots. |
|
P7/P8 |
Ensemble metrics and plots for classification runs. |
|
multiple |
Runtime summaries. |
|
P10 |
Replication predictions, metrics, and plots. |
Phase Output Details
The most useful files for each phase are:
Phase |
Main location |
Useful files |
|---|---|---|
P1 Data Process |
|
|
P2 Impute/Scale/Balance |
|
Saved imputer/scaler metadata and fitted transformers. The CV train/test CSVs are updated with imputed, scaled, and optional SMOTE-balanced training data. |
P3 Feature Learning |
|
|
P4 Feature Importance |
|
|
P5 Feature Selection |
|
Informative/uninformative feature summaries plus selected train/test CV files when filtering is enabled. |
P6 Modeling |
|
|
P7 Ensembles |
|
Ensemble per-CV metrics, curve JSON files, and ensemble summary artifacts for classification runs. |
P8 Summary Statistics |
|
|
P9 Dataset Compare |
|
Cross-dataset statistical comparison CSVs and boxplots. This phase is skipped when fewer than two comparable dataset folders exist. |
P10 Replication |
|
Replication processed data, replication CV/test files, model metrics, model curves, ensemble metrics, and replication summaries. |
P11 Reporting |
|
PDF reports, |
The exact file list can vary by task type and phase settings. For example, ROC/PR curve files are created for classification tasks, while regression runs write residual and actual-vs-predicted outputs instead.
Cross-Validation Files
CVDatasets/ is the handoff point between phases. P1 creates the initial
fold-specific train/test CSVs:
<dataset>/CVDatasets/<dataset>_CV_0_Train.csv
<dataset>/CVDatasets/<dataset>_CV_0_Test.csv
...
Later phases update these files as the dataset moves through imputation, scaling, balancing, feature learning, and feature selection. The train file is the only split that should be fit or resampled by preprocessing/modeling steps. The paired test file is transformed using training-fold artifacts and is preserved for fold-level evaluation.
If a phase is skipped, downstream phases use the most recent CV files produced by earlier phases.
Metrics And Model Artifacts
For model-level debugging, start with:
<dataset>/model_evaluation/metrics_by_cv/<model>_CV_<k>.json
<dataset>/models/pickledModels/<model>_<k>.pickle
<dataset>/models/optuna_trials/<model>_optuna_trials<k>.csv
The per-CV JSON files store raw metric values, feature importance used by the report, Optuna trial accounting, and categorical feature handling information. P8 then aggregates those per-CV files into:
<dataset>/model_evaluation/Summary_performance_mean.csv
<dataset>/model_evaluation/Summary_performance_median.csv
<dataset>/model_evaluation/Summary_performance_std.csv
Those summary CSVs are the best starting point when comparing model performance outside the PDF report.
Replication Output
Replication outputs are nested under the training dataset that supplied the trained workflow:
<output_path>/<experiment_name>/<dataset>/replication/<rep_dataset>/
Inside that folder, STREAMLINE mirrors the main dataset structure where possible, including exploratory summaries, processed replication data, replication model metrics, curve files, and summary performance tables. The replication report is built from these nested folders rather than from the training/CV test metrics.
Reports
P11 can generate two report scopes:
python -m streamline.p11_reporting.p11_cli \
--experiment_path out/UCIHCCPipeline \
--report_mode standard
python -m streamline.p11_reporting.p11_cli \
--experiment_path out/UCIHCCPipeline \
--report_mode replication
The standard report focuses on training/CV experiment outputs. The replication report focuses on external validation outputs under the dataset replication folders.
The first page of each report is intended to answer the practical questions users ask first: what dataset was run, what phases were run, which settings were used, what task type was evaluated, and where the strongest or tied metric results appear.
Report Data
Each report directory also includes report_data.json. This JSON is the
structured input used to build the PDF and is useful for debugging report
content without parsing the PDF.
Figures
The reporting phase can either reuse existing generated figures or generate missing figures:
python -m streamline.p11_reporting.p11_cli \
--experiment_path out/UCIHCCPipeline \
--enable_plots 1 \
--reuse_existing_figures 1
Set --enable_plots 0 when you want a faster report-only smoke test.