# ananyagogia/mnist-digit-classifier architecture

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

- Interactive diagram: https://gitdiagram.com/ananyagogia/mnist-digit-classifier
- Repository: https://github.com/ananyagogia/mnist-digit-classifier

## Overview

This is a small, notebook-based MNIST digit-classification project. The documented user workflow is to open the notebook in Google Colab and run its cells; the notebook uses MNIST images, normalizes and flattens them, trains a TensorFlow/Keras neural network, and reports training and test accuracy. The repository provides no source excerpts, so the graph reflects only capabilities and relationships stated in the README; notebook internals and specific data-loading calls cannot be verified.

Main entry points: [`mnistHandwrittenReco.ipynb`](https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb) (Image preprocessing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_classification["Digit classification"]
  node_preprocessing["Image preprocessing"]
  node_classifier["Neural network"]
  node_evaluation["Accuracy evaluation"]
end

node_user(("Notebook user"))
node_colab["Google Colab"]
node_mnist[("MNIST dataset")]

node_user -->|"opens notebook"| node_colab
node_colab -->|"runs cells"| node_preprocessing
node_mnist -->|"provides images"| node_preprocessing
node_preprocessing -->|"prepares data"| node_classifier
node_classifier -->|"reports accuracy"| node_evaluation

click node_preprocessing "https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb"
click node_classifier "https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb"
click node_evaluation "https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.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_preprocessing,node_classifier,node_evaluation,node_user toneBlue
class node_colab toneIndigo
class node_mnist toneAmber
```

## Components

### Digit classification

- [Image preprocessing](https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb): `mnistHandwrittenReco.ipynb`
- [Neural network](https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb): `mnistHandwrittenReco.ipynb`
- [Accuracy evaluation](https://github.com/ananyagogia/mnist-digit-classifier/blob/main/mnistHandwrittenReco.ipynb): `mnistHandwrittenReco.ipynb`

### Other components

- **Notebook user**
- **Google Colab**
- **MNIST dataset**

## Connections

- Notebook user → Google Colab: opens notebook (evidence: `README.md`)
- Google Colab → Image preprocessing: runs cells (evidence: `README.md`)
- MNIST dataset → Image preprocessing: provides images (evidence: `README.md`)
- Image preprocessing → Neural network: prepares data (evidence: `README.md`)
- Neural network → Accuracy evaluation: reports accuracy (evidence: `README.md`)
