Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

NeuroFashion 🧠👗

A neural network library built from scratch using only Python & NumPy
CSE473s · Computational Intelligence · Spring 2026


Project Structure

neurofashion/
├── lib/
│   ├── __init__.py
│   ├── layers.py        # Base Layer + Dense
│   ├── activations.py   # ReLU, Sigmoid, Tanh, Softmax
│   ├── losses.py        # MSE, BinaryCrossEntropy
│   ├── optimizer.py     # SGD with Momentum
│   ├── network.py       # Sequential model
│   └── utils.py         # Gradient checker + helpers
├── notebooks/
│   └── project_demo.ipynb
└── report/
    └── project_report.pdf

Quick Start

pip install numpy matplotlib scikit-learn tensorflow
cd notebooks
jupyter notebook project_demo.ipynb

Notebook Sections

Section Description
1 Gradient Checking — proves backprop correct
2 XOR Problem — 100% accuracy
3 Denoising Autoencoder on Fashion-MNIST
4 Latent Space SVM Classification
5 TensorFlow/Keras Comparison

Library Usage

from lib.layers      import Dense
from lib.activations import ReLU, Sigmoid
from lib.losses      import MSE
from lib.optimizer   import SGD
from lib.network     import Sequential

model = Sequential()
model.add(Dense(2, 4, weight_init='glorot'))
model.add(ReLU())
model.add(Dense(4, 1))
model.add(Sigmoid())
model.compile(optimizer=SGD(0.01, momentum=0.9), loss=MSE())
model.train(X, y, epochs=1000, batch_size=32)

Dependencies

  • numpy
  • matplotlib
  • scikit-learn
  • tensorflow (data loading + Keras comparison only)

Authors

NeuroFashion Team · MCT Program · Ain Shams University

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages