Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# SimpleNeuralNetwork
This is a C++ implement of simple neural network. It's based on video [Neural Net in C++ Tutorial](https://vimeo.com/19569529) by David Miller.
# Test in Ubuntu
1 Gernerate training data to slove XOR problem
1 Generate training data to slove XOR problem
```
g++ ./makeTrainingSamples.cpp -o makeTrainingSamples
./makeTrainingSamples > out.txt
./makeTrainingSamples > trainingData.
```
2 Test neural netwrok
2 Test neural network
```
g++ ./neural-net.cpp -o neural-net
./neural-net
```
And you will get the result!

# Tuning your neural network
3 Using different topology
```
In the trainingdata.txt, the default topology is 2 4 1.
Changing to a different topology gives different results for same datasets.
For example changing to 2 4 2 1 gives almost 30 percent more
accurate model for 4000 samples of data sets compared to previous one.
```