Giter Site home page Giter Site logo

simple-nn's Introduction

Simple-NN

Here You can observe a C++ implementation of a feed forward Neural Network.

The Project is composed of several Key Components (classes - header files (.hpp) + implementations (.cpp))

Neural Net class (NeuralNet.hpp + NeuralNet.cpp)

This is a class for the general construction of the Neual Network structure (object) and training the Neural Network.

  1. This class includes the constructor of the neural network.
  2. The network operation for forward propagation (fforward) is included in the class.
  3. Back propagation algorithm is included in the class.

Neuron class(Neuron.hpp + Neuron.cpp)

This is a class that is responsible for constructing the main computational unit neuron.()

  1. The class includes the functionality for feeding forward (preactivating, activating) the single Neuron.
  2. The class includes the functionality for the computation of all the gradients for each neuron.
  3. The class includes the functionality for updating each neuron's parametrs(weights,biases) in the direction of the steepest descent.

TrainingData.hpp + TrainingData.cpp is a class for reading the XOR data provided from the code of Dave Miller


main.cpp includes an interface for testing the neural network on various Datasets.

PS: An R code for optimizing the dataset is also provided

simple-nn's People

Contributors

osoblanco avatar

Watchers

James Cloos avatar  avatar

Forkers

njilav

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.