Skip to content

Configurable Neural Network in Cpp, Visual Studio 2017.

License

Notifications You must be signed in to change notification settings

viktorvano/Neural-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neural-Network

Configurable Neural Network in Cpp, Visual Studio 2017.

This Neural network contains one hidden layer neurons. The whole topology of neural network can be configured here:

/*************************************************************************************************/

// Free to edit

#define PatternCount 4

#define InputNodes 2

#define HiddenNodes 6

#define OutputNodes 1

#define velocity 0.1; // overall net learning rate [0.0..1.0]

#define momentum 0.5; // momentum multiplier of last deltaWeight [0.0..n]

const float LearningInputs[PatternCount][InputNodes] = {

{ 0.0f, 0.0f },

{ 0.0f, 1.0f },

{ 1.0f, 0.0f },

{ 1.0f, 1.0f }

};

const float LearningOutputs[PatternCount][OutputNodes] = {// XOR output as an example

{ 0.0f },

{ 1.0f },

{ 1.0f },

{ 0.0f }

}; /**********************************************************************************************/

About

Configurable Neural Network in Cpp, Visual Studio 2017.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published