⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 benchmark.sh

📁 一个功能强大的神经网络分析程序
💻 SH
字号:
#!/bin/shdate;max_seconds_training=200;secs_between_reports=0.01;function benchmark_algorithm() {    ./quality $algo datasets/$prob.train datasets/$prob.test $prob.$algo.train.out $prob.$algo.test.out $n1 $n2 $sec_train $secs_between_reports    date;}function benchmark_problem() {    #rm -f *_fixed.net    algo="fann_rprop"; benchmark_algorithm;    #./quality_fixed $prob.$algo.train.out_fixed_train $prob.$algo.train.out_fixed_test $prob.$algo.fixed_train.out $prob.$algo.fixed_test.out *_fixed.net    algo="fann_rprop_stepwise"; benchmark_algorithm;    algo="fann_quickprop"; benchmark_algorithm;    #algo="fann_quickprop_stepwise"; benchmark_algorithm;    algo="fann_batch"; benchmark_algorithm;    #algo="fann_batch_stepwise"; benchmark_algorithm;    algo="fann_incremental"; benchmark_algorithm;    #algo="fann_incremental_stepwise"; benchmark_algorithm;    #comment out two following lines if the libraries are not available    algo="lwnn"; benchmark_algorithm;    algo="jneural"; benchmark_algorithm;}#comment out some of the lines below if some of the problems should not be benchmarkedprob="building"; n1=16; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="diabetes"; n1=4; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="gene"; n1=4; n2=2; sec_train=$max_seconds_training;benchmark_problem;prob="mushroom"; n1=32; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="parity8"; n1=16; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="parity13"; n1=26; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="pumadyn-32fm"; n1=10; n2=0; sec_train=30;benchmark_problem;prob="robot"; n1=96; n2=0; sec_train=$max_seconds_training;benchmark_problem;prob="soybean"; n1=16; n2=8; sec_train=$max_seconds_training;benchmark_problem;prob="thyroid"; n1=16; n2=8; sec_train=$max_seconds_training;benchmark_problem;prob="two-spiral"; n1=20; n2=10; sec_train=$max_seconds_training;benchmark_problem;./performance fann fann_performance.out 1 2048 2 20./performance fann_stepwise fann_stepwise_performance.out 1 2048 2 20./performance_fixed fann fann_fixed_performance.out 1 2048 2 20./performance lwnn lwnn_performance.out 1 2048 2 20./performance jneural jneural_performance.out 1 256 2 20gnuplot < gnuplot

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -