From 5886b8d67d61ed9f73ab06852cf10f917412973d Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:30:37 +0000 Subject: [PATCH 1/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 005e7ae..d1eca29 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne 1 Gernerate training data to slove XOR problem ``` g++ ./makeTrainingSamples.cpp -o makeTrainingSamples - ./makeTrainingSamples > out.txt + ./makeTrainingSamples > trainingData. ``` 2 Test neural netwrok ``` From 20c441933d1282270c90d6af2f2dd2306999c87f Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:48:19 +0000 Subject: [PATCH 2/9] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1eca29..ab45a40 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,12 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne g++ ./makeTrainingSamples.cpp -o makeTrainingSamples ./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! + In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. +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. From 22c51c870b6cfdbd6d8ba7562cb3aecc3c3c104b Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:48:53 +0000 Subject: [PATCH 3/9] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ab45a40..15373e9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne ./neural-net ``` And you will get the result! + In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. 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. From bc638a5cc6e701a6fb85a858ac63dc49243bca37 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:50:24 +0000 Subject: [PATCH 4/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15373e9..1fe5008 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne ./neural-net ``` And you will get the result! - +... In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. 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. - +... From fd80ba414a5a2fa8042b1eb3da3b0b888ed7ed15 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:55:06 +0000 Subject: [PATCH 5/9] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1fe5008..52f537d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne ./neural-net ``` And you will get the result! -... - In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. +# Changing the topology and amount of samples generated +```In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. 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. -... +``` From 238285afe2fc9587f580664fe636a8e7ee1cf810 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:56:13 +0000 Subject: [PATCH 6/9] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 52f537d..9149c47 100644 --- a/README.md +++ b/README.md @@ -14,5 +14,7 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne And you will get the result! # Changing the topology and amount of samples generated ```In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. +``` +``` 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. ``` From 5958951d7281b22933667f35100cafe619f838c9 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:59:17 +0000 Subject: [PATCH 7/9] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9149c47..2a972d4 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,11 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne ./neural-net ``` And you will get the result! -# Changing the topology and amount of samples generated -```In the trainingdata.txt, the default topology is 2 4 1. Changing to a different topology gives different results. +# Tuning your model +3 Using different topology ``` -``` -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. + In the trainingdata.txt, the default topology is 2 4 1. + Changing to a different topology gives different results. + 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. ``` From 5ff576e02849d260c2e4274c75a2e7106e6ee9c4 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 05:59:52 +0000 Subject: [PATCH 8/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a972d4..2623905 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # 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 > trainingData. From c243b6636bdb5a02239a78317093cb841b852b69 Mon Sep 17 00:00:00 2001 From: ksrikar1234 <49874498+ksrikar1234@users.noreply.github.com> Date: Sun, 28 Jun 2020 06:06:05 +0000 Subject: [PATCH 9/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2623905..e759218 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ This is a C++ implement of simple neural network. It's based on video [Neural Ne ./neural-net ``` And you will get the result! -# Tuning your model +# 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. + 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. ```