# niteshksah/mnist-handwritten-digit-classifier-pytorch architecture

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

- Interactive diagram: https://gitdiagram.com/niteshksah/mnist-handwritten-digit-classifier-pytorch
- Repository: https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch

## Overview

This is a PyTorch MNIST digit-classification project. Its documented workflow explores model architectures and training variations, compares validation accuracy, and supports interactive handwritten-digit prediction. The only source file is a notebook, and no source excerpts were provided, so this map reflects README-level capabilities; internal call relationships cannot be verified.

Main entry points: [`Neu_Net.ipynb`](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb) (Model experiments)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["MNIST workflow"]
  node_mnist[("MNIST dataset")]
  node_mlp["MLP models<br/>[Neu_Net.ipynb]"]
  node_cnn["CNN model<br/>[Neu_Net.ipynb]"]
  node_experiments["Model experiments<br/>[Neu_Net.ipynb]"]
  node_validation["Accuracy comparison<br/>[Neu_Net.ipynb]"]
  node_prediction["Interactive prediction<br/>[Neu_Net.ipynb]"]
end

node_user(("Digit user"))

node_mnist -.->|"evaluates on"| node_experiments
node_experiments -.->|"varies architecture"| node_mlp
node_experiments -.->|"tests CNN"| node_cnn
node_experiments -->|"compares accuracy"| node_validation
node_user -->|"submits digits"| node_prediction
node_prediction -.->|"classifies with"| node_mlp
node_prediction -.->|"classifies with"| node_cnn

click node_mlp "https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb"
click node_cnn "https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb"
click node_experiments "https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb"
click node_validation "https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb"
click node_prediction "https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.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_mnist,node_mlp,node_cnn,node_experiments,node_validation,node_prediction,node_user toneBlue
```

## Components

### MNIST workflow

- **MNIST dataset**
- [MLP models](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb): `Neu_Net.ipynb`
- [CNN model](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb): `Neu_Net.ipynb`
- [Model experiments](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb): `Neu_Net.ipynb`
- [Accuracy comparison](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb): `Neu_Net.ipynb`
- [Interactive prediction](https://github.com/niteshksah/mnist-handwritten-digit-classifier-pytorch/blob/main/Neu_Net.ipynb): `Neu_Net.ipynb`

### Other components

- **Digit user**

## Connections

- MNIST dataset → Model experiments: evaluates on
- Model experiments → MLP models: varies architecture
- Model experiments → CNN model: tests CNN
- Model experiments → Accuracy comparison: compares accuracy (evidence: `README.md`)
- Digit user → Interactive prediction: submits digits (evidence: `README.md`)
- Interactive prediction → MLP models: classifies with
- Interactive prediction → CNN model: classifies with
