# ishan7390/nn_fashmnist architecture

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

- Interactive diagram: https://gitdiagram.com/ishan7390/nn_fashmnist
- Repository: https://github.com/ishan7390/nn_fashmnist

## Overview

This small Fashion MNIST script loads labeled images, normalizes pixel values, trains a single-hidden-layer classifier, predicts labels, and displays five test images with actual and predicted classes. The model and workflow are all implemented in `05.py`; the dataset is loaded through Keras. The graph reflects the sampled script, including its test-image assignment from the training images. There are no separate repository modules.

Main entry points: [`05.py`](https://github.com/ishan7390/nn_fashmnist/blob/master/05.py) (Training workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_dataset[("Fashion MNIST")]
node_workflow["Training workflow<br/>[05.py]"]
node_preprocessing["Image normalization<br/>[05.py]"]
node_classifier["Neural classifier<br/>[05.py]"]
node_visualization["Prediction plots<br/>[05.py]"]

node_workflow -->|"loads images"| node_dataset
node_workflow -->|"normalizes pixels"| node_preprocessing
node_workflow -->|"trains and predicts"| node_classifier
node_workflow -->|"displays results"| node_visualization
node_preprocessing -->|"provides images"| node_classifier
node_classifier -->|"provides predictions"| node_visualization

click node_workflow "https://github.com/ishan7390/nn_fashmnist/blob/master/05.py"
click node_preprocessing "https://github.com/ishan7390/nn_fashmnist/blob/master/05.py"
click node_classifier "https://github.com/ishan7390/nn_fashmnist/blob/master/05.py"
click node_visualization "https://github.com/ishan7390/nn_fashmnist/blob/master/05.py"

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_dataset toneAmber
class node_workflow,node_preprocessing,node_classifier,node_visualization toneTeal
```

## Components

### Other components

- **Fashion MNIST**
- [Training workflow](https://github.com/ishan7390/nn_fashmnist/blob/master/05.py): `05.py`
- [Image normalization](https://github.com/ishan7390/nn_fashmnist/blob/master/05.py): `05.py`
- [Neural classifier](https://github.com/ishan7390/nn_fashmnist/blob/master/05.py): `05.py`
- [Prediction plots](https://github.com/ishan7390/nn_fashmnist/blob/master/05.py): `05.py`

## Connections

- Training workflow → Fashion MNIST: loads images
- Training workflow → Image normalization: normalizes pixels
- Training workflow → Neural classifier: trains and predicts
- Training workflow → Prediction plots: displays results
- Image normalization → Neural classifier: provides images
- Neural classifier → Prediction plots: provides predictions
