项目作者: ozanbilici

项目描述 :
XOR neural network implementation in C++
高级语言: C++
项目地址: git://github.com/ozanbilici/CppNeuralNetwork.git
创建时间: 2019-05-17T20:24:15Z
项目社区:https://github.com/ozanbilici/CppNeuralNetwork

开源协议:MIT License

下载


License: MIT

CppNeuralNetwork (Neural Network Example in C++)

Example project demonstrates neural network implementation in C++. CppNeuralNetwork project was inspired by this project. No additional library is needed.

Simple xor gate is implemented by using neural network in C++. After the training, the results should be as following:

Expected Output
0.0000 0.0431
1.0000 0.9573
1.0000 0.9587
0.0000 0.0409

Code structure

  • CMakeLists.txt CMake building script
  • src contains source code
  • src/library contains libraries

Dependencies

  • None

Building

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Running

  1. cd build/src
  2. ./CppNeuralNetwork

Author