← All projects

Deep-Neural-Network-in-C

by @mounirouadi

42

This is a simple neural network implemented in C language, trained and tested on the MNIST dataset of handwritten digits.

About this project

A Deep Neural Network Implementation in C This is a simple neural network implemented in C language, trained and tested on the MNIST dataset of handwritten digits. The network is trained to recognize digits from 0 to 9. The implemented network is a multi-layer perceptron with one hidden layer. The code includes functions for training, testing and evaluating the accuracy of the model. It also includes functions to save and load the weights and biases of the model. It includes forwardpropagation, backpropagation, activation functions and cost functions. Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Prerequisites A C compiler (e.g. GCC) The MNIST dataset in binary format (can be obtained from http://yann.lecun.com/exdb/mnist/) Installing Clone the repository to your local machine Place the MNIST dataset files (mnisttrainimages.bin, mnisttrainlabels.bin, mnisttestimages.bin, and mnisttestlabels.bin) in the project's root directory Compile the code using the following command: ' gcc -o main main.c ' Run the program using the following command: Copy code ./main

From the project README on GitHub

Stars
42
Forks
5
License
MIT
Last push
17 Jan 2023

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/deep-neural-network-in-c.svg)](https://www.madeinalgeria.dev/projects/deep-neural-network-in-c)

Related projects