[libfann] 113/242: added robot in the benchmarks

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:10:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to tag Version2_0_0
in repository libfann.

commit 9d5bb75501eebaecb06c0ddfe304c16ca4ea748b
Author: Steffen Nissen <lukesky at diku.dk>
Date:   Tue Mar 30 21:48:01 2004 +0000

    added robot in the benchmarks
---
 benchmarks/benchmark.sh   |  7 +++++++
 benchmarks/gnuplot        | 14 ++++++++++++++
 benchmarks/performance.cc |  4 ++--
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/benchmarks/benchmark.sh b/benchmarks/benchmark.sh
index df6c868..e04ed77 100755
--- a/benchmarks/benchmark.sh
+++ b/benchmarks/benchmark.sh
@@ -53,3 +53,10 @@ rm -f *_fixed.net
 ./quality fann_stepwise datasets/thyroid.train datasets/thyroid.test thyroid_fann_stepwise_train.out thyroid_fann_stepwise_test.out 16 8 200 1
 ./quality lwnn datasets/thyroid.train datasets/thyroid.test thyroid_lwnn_train.out thyroid_lwnn_test.out 16 8 200 1
 ./quality jneural datasets/thyroid.train datasets/thyroid.test thyroid_jneural_train.out thyroid_jneural_test.out 16 8 200 1
+
+rm -f *_fixed.net
+./quality fann datasets/robot.train datasets/robot.test robot_fann_train.out robot_fann_test.out 96 0 200 1
+./quality_fixed robot_fann_train.out_fixed_train robot_fann_train.out_fixed_test robot_fann_fixed_train.out robot_fann_fixed_test.out *_fixed.net
+./quality fann_stepwise datasets/robot.train datasets/robot.test robot_fann_stepwise_train.out robot_fann_stepwise_test.out 96 0 200 1
+./quality lwnn datasets/robot.train datasets/robot.test robot_lwnn_train.out robot_lwnn_test.out 96 0 200 1
+./quality jneural datasets/robot.train datasets/robot.test robot_jneural_train.out robot_jneural_test.out 96 0 200 1
diff --git a/benchmarks/gnuplot b/benchmarks/gnuplot
index f04f26f..af807de 100644
--- a/benchmarks/gnuplot
+++ b/benchmarks/gnuplot
@@ -91,6 +91,20 @@ plot "thyroid_fann_train.out" title "fann train" with lines -1, \
  "thyroid_lwnn_test.out" title "lwnn test" with lines 3, \
  "thyroid_jneural_test.out" title "jneural test" with lines 4
 
+set logscale x
+#set output "robot.ps"
+set title "robot"
+plot "robot_fann_train.out" title "fann train" with lines -1, \
+ "robot_fann_stepwise_train.out" title "fann (stepwise) train" with lines 1, \
+ "robot_fann_fixed_train.out" title "fann (fix) train" with lines 2, \
+ "robot_lwnn_train.out" title "lwnn train" with lines 3, \
+ "robot_jneural_train.out" title "jneural train" with lines 4, \
+ "robot_fann_test.out" title "fann test" with lines -1, \
+ "robot_fann_stepwise_test.out" title "fann (stepwise) test" with lines 1, \
+ "robot_fann_fixed_test.out" title "fann (fix) test" with lines 2, \
+ "robot_lwnn_test.out" title "lwnn test" with lines 3, \
+ "robot_jneural_test.out" title "jneural test" with lines 4
+
 set xlabel "Number of neurons in the four layers"
 set ylabel "Nanoseconds per connection"
 
diff --git a/benchmarks/performance.cc b/benchmarks/performance.cc
index 251b261..4101c0e 100644
--- a/benchmarks/performance.cc
+++ b/benchmarks/performance.cc
@@ -19,8 +19,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 //uncomment lines below to benchmark the libraries
 
-//#define JNEURAL
-//#define LWNN
+#define JNEURAL
+#define LWNN
 
 #include <stdio.h>
 #include <stdlib.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git



More information about the debian-science-commits mailing list