# zp90/mini-batch-gradient-descent architecture

> Architecture diagram of the GitHub repository zp90/mini-batch-gradient-descent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zp90/mini-batch-gradient-descent
- Repository: https://github.com/zp90/mini-batch-gradient-descent

## Overview

This is a small educational gradient-descent experiment, not a multi-service application. The README states the aim is to show why training should not necessarily stop when mean squared error (MSE) increases. The repository contains two notebooks and a housing CSV, but no source excerpts or documented links between them. The graph therefore identifies the experiment artifacts without asserting an unsupported execution or data-flow relationship.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experiment["Gradient Descent Experiment"]
  node_question1["Question 1 notebook<br/>[Question 1.ipynb]"]
  node_question2["Question 2 notebook<br/>[Question 2.ipynb]"]
  node_housing_data["Housing dataset<br/>[housing&#91;1&#93;.csv]"]
end

click node_question1 "https://github.com/zp90/mini-batch-gradient-descent/blob/main/Question%201.ipynb"
click node_question2 "https://github.com/zp90/mini-batch-gradient-descent/blob/main/Question%202.ipynb"
click node_housing_data "https://github.com/zp90/mini-batch-gradient-descent/blob/main/housing%5B1%5D.csv"

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_question1,node_question2,node_housing_data toneBlue
```

## Components

### Gradient Descent Experiment

- [Question 1 notebook](https://github.com/zp90/mini-batch-gradient-descent/blob/main/Question%201.ipynb): `Question 1.ipynb`
- [Question 2 notebook](https://github.com/zp90/mini-batch-gradient-descent/blob/main/Question%202.ipynb): `Question 2.ipynb`
- [Housing dataset](https://github.com/zp90/mini-batch-gradient-descent/blob/main/housing%5B1%5D.csv): `housing[1].csv`
