Skip to content

simple neural network written in Python for understanding the basics of training and evaluation phases. Its contain some of the best practies for readability, for example easy customizable file properties which customize network's characters.

Notifications You must be signed in to change notification settings

ares-17/neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fully connected feed-forward neural network with gradient descent and momentum

A simple project that analyzes the error and accuracy of a neural network based on properties such as activation functions, number of neurons, and momentum.

Local installation

To run the project on your operating system make sure you already have python 3 installed and then install the following packages:

   RUN pip install --upgrade pip
   RUN pip install opencv-python-headless
   RUN pip install matplotlib keras tensorflow

Docker

If you have a docker environment:

docker build -t nndl .                    # run the build phase 
docker container run --rm -v .:/app nndl  # to test changes

Results

In the local or dockerize environment, project execution creates error graphs for any combination of learning rate, momentum, and number of neurons. These results are stored in the results/errors folder and any other information, such as parameters and accuracy, are stored as logs in events.log in the same location.
To change the generated results, change the parameters in the properties.ini file.

About

simple neural network written in Python for understanding the basics of training and evaluation phases. Its contain some of the best practies for readability, for example easy customizable file properties which customize network's characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published