Skip to content
Simple Neural Network in C++
Branch: master
Clone or download
Latest commit ffd0532 May 16, 2017

README.md

Simple Neural Network in C++

I am a beginner in machine learning, so this neural network is created for the purpose of learning. It's not fully functional but playing with it, is fun for me.

XOR Network Testing Error plot

Features:

  • It's fast and small
  • Mathematical operations are performed matrix-wise
  • Network can be created from a text file describing network details
  • After training, the network can be saved to a text file describing the network details, trianed network are saved with the network parameters(biases and weights) and untrained network are saved with structure details only like number of layers, number of neurons and type of activation functions etc. This text file can be used to build the trained network again.
  • At the end of training, error plot can be drawn using python library 'matplotlib' with c++.

Depedencies:

Depedencies Installation:

  • sudo apt install libgsl-dev
  • sudo apt install libpython2.7 <---- python2.7
  • sudo apt install libpython3.5 <---- python3 and above
  • pip install matplotlib <---- python2.7
  • pip3 install matplotlib <---- python3 and above

Guide:

You can’t perform that action at this time.