# rashmirisha/model-reliability-benchmark architecture

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

- Interactive diagram: https://gitdiagram.com/rashmirisha/model-reliability-benchmark
- Repository: https://github.com/rashmirisha/model-reliability-benchmark

## Overview

This repository is a small, exploratory model-reliability experiment implemented in a notebook. Its documented workflow uses TMDB movie features to create a popularity target, prepares and splits the data, trains a fixed logistic-regression baseline, then compares clean and perturbed test accuracy. The notebook itself was not excerpted, so the diagram reflects README-documented stages and relationships rather than inspected notebook calls.

Main entry points: [`Logistic_Regression.ipynb`](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb) (Train/test split)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_prepare["Prepare features"]
  node_target["Popularity target"]
  node_split["Train/test split"]
end

subgraph group_analysis["Model evaluation"]
  node_model["Logistic regression"]
  node_perturb["Perturb test inputs"]
  node_evaluate["Accuracy comparison"]
end

node_tmdb[("TMDB movies")]

node_tmdb -->|"provides data"| node_prepare
node_prepare -->|"selects features"| node_target
node_target -->|"sets target"| node_split
node_split -->|"trains baseline"| node_model
node_split -->|"supplies test data"| node_perturb
node_model -->|"scores predictions"| node_evaluate
node_perturb -->|"compares accuracy"| node_evaluate

click node_prepare "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"
click node_target "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"
click node_split "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"
click node_model "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"
click node_perturb "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"
click node_evaluate "https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb"

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_prepare,node_target,node_split toneBlue
class node_model,node_perturb,node_evaluate,node_tmdb toneAmber
```

## Components

### Data preparation

- [Prepare features](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`
- [Popularity target](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`
- [Train/test split](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`

### Model evaluation

- [Logistic regression](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`
- [Perturb test inputs](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`
- [Accuracy comparison](https://github.com/rashmirisha/model-reliability-benchmark/blob/main/Logistic_Regression.ipynb): `Logistic_Regression.ipynb`

### Other components

- **TMDB movies**

## Connections

- TMDB movies → Prepare features: provides data (evidence: `README.md`)
- Prepare features → Popularity target: selects features (evidence: `README.md`)
- Popularity target → Train/test split: sets target (evidence: `README.md`)
- Train/test split → Logistic regression: trains baseline (evidence: `README.md`)
- Train/test split → Perturb test inputs: supplies test data (evidence: `README.md`)
- Logistic regression → Accuracy comparison: scores predictions (evidence: `README.md`)
- Perturb test inputs → Accuracy comparison: compares accuracy (evidence: `README.md`)
