Simple neural network implementation. Suitable for educational purposes.
Implementation allows you to add your own training methods, activation functions and network architecture.
All work with the network will be done inside the file tnn.cpp
.
π§ Work in progress π§
I used g++
to compile. All work was done on Windows 10 Enterprise x64.
You can download g++
as part of MinGW here.
Unpack it so that the path to g++
looks like this
C:\\MinGW64\\bin\\g++.exe
or just edit the project settings in .vscode/launch.json
and .vscode/tasks.json
when you download it.
After all, open it via VS Code and Run!
π§ Work in progress π§
.
β README.md // This File
ββββ.vscode // VS Code settings
β launch.json
β settings.json
β tasks.json
ββββbin
β tnn.exe // Output application file
ββββdoc // Docs folder
ββββsrc
β tnn.cp // Main file
ββββtnn // Internal classes
ActivationFuncSigmoid.hpp
IActivationFunc.hpp
IArch.hpp
ILayer.hpp
ILearnMethod.hpp
Network.hpp
Neuron.hpp
SimpleLayer.hpp