# aliekhalj/tabular-benchmark-reproduce architecture

> Architecture diagram of the GitHub repository aliekhalj/tabular-benchmark-reproduce, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aliekhalj/tabular-benchmark-reproduce
- Repository: https://github.com/aliekhalj/tabular-benchmark-reproduce
- Video tour (about a minute): https://gitdiagram.com/aliekhalj/tabular-benchmark-reproduce/video

## Overview

This repository reproduces tabular-model comparisons through baseline benchmarking, hyperparameter tuning and held-out evaluation, cross-validation, two robustness experiments, and statistical analysis with plots. The README documents the broader experiment design; sampled source confirms key data-loading, tuning, CV, finding, and analysis behaviors. Some links for unsampled scripts are based on README descriptions rather than inspected implementation.

Main entry points: [`benchmark.py`](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/benchmark.py) (Baseline benchmark), [`tune.py`](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/tune.py) (Hyperparameter tuning), [`finding2.py`](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding2.py) (Noise sensitivity), [`finding3.py`](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding3.py) (Rotation sensitivity)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_config["Dataset configuration<br/>[config.py]"]
  node_loader["Dataset loading<br/>[data_loader.py]"]
  node_dataset["Prepared datasets"]
end

subgraph group_experiments["Model experiments"]
  node_benchmark["Baseline benchmark<br/>[benchmark.py]"]
  node_tune["Hyperparameter tuning<br/>[tune.py]"]
  node_spaces["Search spaces"]
  node_models["Model implementations<br/>[models.py]"]
  node_cv["Cross-validation<br/>[cv.py]"]
  node_noise["Noise sensitivity<br/>[finding2.py]"]
  node_rotation["Rotation sensitivity<br/>[finding3.py]"]
  node_experiment_results["Experiment result files"]
end

subgraph group_analysis["Analysis and results"]
  node_stats["Statistical tests<br/>[stats.py]"]
  node_stats_results["Statistical result files"]
end

subgraph group_visuals["Visualization"]
  node_visualize["Experiment plots<br/>[visualize.py]"]
  node_stats_visualize["Statistical plots<br/>[stats_visualize.py]"]
  node_figures["Generated figures"]
end

node_researcher(("Researcher"))
node_openml(("OpenML"))

node_researcher -->|"runs benchmark"| node_benchmark
node_researcher -->|"runs tuning"| node_tune
node_researcher -->|"runs validation"| node_cv
node_researcher -->|"runs experiment"| node_noise
node_researcher -->|"runs experiment"| node_rotation
node_researcher -->|"runs analysis"| node_stats
node_config -->|"configures datasets"| node_loader
node_loader -->|"fetches datasets"| node_openml
node_loader -->|"prepares splits"| node_dataset
node_dataset -->|"supplies data"| node_benchmark
node_dataset -->|"supplies data"| node_tune
node_spaces -->|"defines search"| node_tune
node_tune -->|"fits candidates"| node_models
node_tune -->|"writes tuning results"| node_experiment_results
node_dataset -->|"supplies training pool"| node_cv
node_cv -->|"writes CV results"| node_experiment_results
node_models -->|"provides estimators"| node_benchmark
node_benchmark -.->|"loads and scores"| node_dataset
node_benchmark -->|"writes benchmark results"| node_experiment_results
node_dataset -->|"supplies data"| node_noise
node_noise -->|"fits GBT and MLP"| node_models
node_noise -->|"writes noise results"| node_experiment_results
node_dataset -->|"supplies data"| node_rotation
node_rotation -->|"fits GBT and MLP"| node_models
node_rotation -->|"writes rotation results"| node_experiment_results
node_experiment_results -->|"provides scores"| node_stats
node_stats -->|"writes summaries"| node_stats_results
node_experiment_results -->|"provides experiment scores"| node_visualize
node_visualize -->|"writes plots"| node_figures
node_stats_results -->|"provides statistics"| node_stats_visualize
node_stats_visualize -->|"writes plots"| node_figures

click node_config "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/config.py"
click node_loader "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/data_loader.py"
click node_benchmark "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/benchmark.py"
click node_tune "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/tune.py"
click node_spaces "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/hyperparameter_spaces.py"
click node_models "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/models.py"
click node_cv "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/cv.py"
click node_noise "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding2.py"
click node_rotation "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding3.py"
click node_stats "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/stats.py"
click node_visualize "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/visualize.py"
click node_stats_visualize "https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/stats_visualize.py"
click node_figures "https://github.com/aliekhalj/tabular-benchmark-reproduce/tree/main/figures"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_config,node_loader,node_dataset toneBlue
class node_benchmark,node_tune,node_spaces,node_models,node_cv,node_noise,node_rotation,node_experiment_results toneAmber
class node_stats,node_stats_results toneMint
class node_visualize,node_stats_visualize,node_figures toneRose
class node_researcher,node_openml toneIndigo
```

## Components

### Data preparation

- [Dataset configuration](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/config.py): `config.py`
- [Dataset loading](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/data_loader.py): `data_loader.py`
- **Prepared datasets**

### Model experiments

- [Baseline benchmark](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/benchmark.py): `benchmark.py`
- [Hyperparameter tuning](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/tune.py): `tune.py`
- [Search spaces](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/hyperparameter_spaces.py): `hyperparameter_spaces.py`
- [Model implementations](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/models.py): `models.py`
- [Cross-validation](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/cv.py): `cv.py`
- [Noise sensitivity](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding2.py): `finding2.py`
- [Rotation sensitivity](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/finding3.py): `finding3.py`
- **Experiment result files**

### Analysis and results

- [Statistical tests](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/stats.py): `stats.py`
- **Statistical result files**

### Visualization

- [Experiment plots](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/visualize.py): `visualize.py`
- [Statistical plots](https://github.com/aliekhalj/tabular-benchmark-reproduce/blob/main/stats_visualize.py): `stats_visualize.py`
- [Generated figures](https://github.com/aliekhalj/tabular-benchmark-reproduce/tree/main/figures): `figures`

### Other components

- **Researcher**
- **OpenML**

## Connections

- Researcher → Baseline benchmark: runs benchmark
- Researcher → Hyperparameter tuning: runs tuning
- Researcher → Cross-validation: runs validation
- Researcher → Noise sensitivity: runs experiment
- Researcher → Rotation sensitivity: runs experiment
- Researcher → Statistical tests: runs analysis
- Dataset configuration → Dataset loading: configures datasets
- Dataset loading → OpenML: fetches datasets
- Dataset loading → Prepared datasets: prepares splits
- Prepared datasets → Baseline benchmark: supplies data
- Prepared datasets → Hyperparameter tuning: supplies data
- Search spaces → Hyperparameter tuning: defines search
- Hyperparameter tuning → Model implementations: fits candidates
- Hyperparameter tuning → Experiment result files: writes tuning results
- Prepared datasets → Cross-validation: supplies training pool
- Cross-validation → Experiment result files: writes CV results
- Model implementations → Baseline benchmark: provides estimators
- Baseline benchmark → Prepared datasets: loads and scores
- Baseline benchmark → Experiment result files: writes benchmark results
- Prepared datasets → Noise sensitivity: supplies data
- Noise sensitivity → Model implementations: fits GBT and MLP
- Noise sensitivity → Experiment result files: writes noise results
- Prepared datasets → Rotation sensitivity: supplies data
- Rotation sensitivity → Model implementations: fits GBT and MLP
- Rotation sensitivity → Experiment result files: writes rotation results
- Experiment result files → Statistical tests: provides scores
- Statistical tests → Statistical result files: writes summaries
- Experiment result files → Experiment plots: provides experiment scores
- Experiment plots → Generated figures: writes plots
- Statistical result files → Statistical plots: provides statistics
- Statistical plots → Generated figures: writes plots
