项目作者: viktorvano

项目描述 :
Configurable Neural Network in Cpp, Visual Studio 2017.
高级语言: C++
项目地址: git://github.com/viktorvano/Neural-Network.git
创建时间: 2017-11-18T08:25:48Z
项目社区:https://github.com/viktorvano/Neural-Network

开源协议:MIT License

下载


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 }

};
/**/