Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yasinshafiei/fullyconnected-from-scratch

Fully connected layer from scratch, with training on MNIST dataset
https://github.com/yasinshafiei/fullyconnected-from-scratch

adam-optimizer ai ann artificial artificial-intelligence deep-learning from-scratch mlp neural-network numpy perceptron python

Last synced: 7 days ago
JSON representation

Fully connected layer from scratch, with training on MNIST dataset

Awesome Lists containing this project

README

        

# FullyConnected neural network layer from scratch
Fully connected layer from scratch, with training on MNIST dataset.

The scripts are all for creating a Fully-Connected Neural Network layer and making a custom model.

Also the model trains on fully custom training loop. All the optimizer and loss function are written from scratch.

## Results
I implemented a MLP from scratch only using NumPy for model creation. Here are the results of the training:

![Screenshot 2024-01-05 161138](https://github.com/YasinShafiei/FullyConnected-from-scratch/assets/91404054/b35b54a0-9bbf-42d2-9e27-47b546a8dac5)
![Figure_1](https://github.com/YasinShafiei/FullyConnected-from-scratch/assets/91404054/bed1e2bc-854a-4696-b9e0-985829833872)
![Figure_2](https://github.com/YasinShafiei/FullyConnected-from-scratch/assets/91404054/c30e52d1-484c-4a86-9f43-e40f9a874049)

## Article:
Please go and checkout my article about this project for full explanations and detils:
https://medium.com/@YasinShafiei/making-a-neural-network-fully-connected-layer-from-scratch-only-numpy-49bd7958b6f3