Skip to content

About

This project is a part of Linear Algebra course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

This project is a part from Linear Algebra course

I made this project because I want to understand how Neural Network actually works under the hood and how it related to linear algebra.

Requirements

  1. CMAKE
  2. C/C++ Compiler
  3. Build tool

How to set up project

1. clone the repository

git clone <repo-url>

2. build the source code

on linux

cd Neural-Network-From-Scratch
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

on windows

cd Neural-Network-From-Scratch
mkdir build
cd build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..
mingw32-make

3. execute the output file

cd ../output
./Neural_Network

Note: Usually, it takes round 45 minutes to complete.

References

MNIST datasets
Gradient Decent blog
Learn to build a Neural Network from scratch blog
Neural Network explanation playlists
Softmax blog explanation
LeakyRelu blog explanation
Cross entropy loss blog explanation
Note: In this project, I used Gemini to help me learn about other activation functions suitable for MNIST datasets, and I also used Gemini to help me learn how to write proper C++.

I also want to thank you for all the high-quality blogs and videos created for everyone to learn from. Finally if there are any mistakes please let me know and I will fix them thank you for your attention.

About

This project is a part of Linear Algebra course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages