How seyed-hesam-hojjat/predef-ml works
Tabular ML Workbench is a local Streamlit application that guides users from tabular-file upload through data review, feature preparation, validation-aware model selection, held-out evaluation, and downloadable reports or a fitted predictor. README documents spreadsheet and CSV import, audit checks, split strategies, preprocessing, algorithm families, and export features. The main ownership edges are supported by app.py imports and excerpts; module internals support preprocessing and prediction behavior. Some UI and modeling calls are omitted from excerpts, so those links rely on explicit README descriptions where applicable.
Main entry points: app.py Streamlit workbench · inference.py Raw-input predictor · modeling.py Model comparison · preprocessing.py Prediction preparation
Components 17
Guided workflow
- Streamlit workbench
app.py - CSV / Excel input
- Target and task
app.py
Data and modeling
- Quality audit
ml_workbench/audit.py - Feature preparation
ml_workbench/preprocessing.py - Holdout splitting
ml_workbench/modeling.py - Fold preprocessing
ml_workbench/preprocessing.py - Model comparison
ml_workbench/modeling.py - Hyperparameter search
ml_workbench/modeling.py - Holdout evaluation
ml_workbench/modeling.py - Permutation importance
ml_workbench/modeling.py - Prediction preparation
ml_workbench/preprocessing.py
Results and reuse
- Raw-input predictor
ml_workbench/inference.py - Excel report
ml_workbench/reporting.py - Serialized model
ml_workbench/reporting.py
Other components
- Analyst
- New tabular rows
Connections 21
- Analyst → Streamlit workbench: operates
README.md - CSV / Excel input → Streamlit workbench: uploads
README.md - Streamlit workbench → Quality audit: audits
app.py - Streamlit workbench → Target and task: confirms
README.md - Streamlit workbench → Feature preparation: prepares
app.py - Streamlit workbench → Holdout splitting: requests split
app.py - Streamlit workbench → Model comparison: benchmarks
app.py - Model comparison → Fold preprocessing: fits folds
ml_workbench/modeling.py - Model comparison → Hyperparameter search: tunes finalists
README.md - Streamlit workbench → Holdout evaluation: evaluates holdout
README.md - Holdout evaluation → Permutation importance: computes importance
README.md - Streamlit workbench → Excel report: exports report
app.py - Streamlit workbench → Raw-input predictor: builds predictor
app.py - Raw-input predictor → Prediction preparation: prepares inputs
ml_workbench/inference.py - Prediction preparation → Fold preprocessing: returns features
ml_workbench/preprocessing.py - Streamlit workbench → Serialized model: serializes model
app.py - Analyst → New tabular rows: provides rows
- New tabular rows → Raw-input predictor: requests predictions
- Raw-input predictor → Analyst: returns predictions
- Excel report → Analyst: downloads
README.md - Serialized model → Analyst: downloads