3 # svrt is the ``Synthetic Visual Reasoning Test'', an image generator
4 # for evaluating classification performance of machine learning
5 # systems, humans and primates.
7 # Copyright (c) 2009 Idiap Research Institute, http://www.idiap.ch/
8 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
10 # This file is part of svrt.
12 # svrt is free software: you can redistribute it and/or modify it
13 # under the terms of the GNU General Public License version 3 as
14 # published by the Free Software Foundation.
16 # svrt is distributed in the hope that it will be useful, but WITHOUT
17 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
19 # License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with svrt. If not, see <http://www.gnu.org/licenses/>.
24 nb_samples_to_save=100
25 nb_samples_for_training=1000
29 [[ ${problem_list} ]] || problem_list=$(echo {1..23})
33 make -j -k vision_test
35 for problem_number in ${problem_list}; do
37 result_dir=./results_problem_${problem_number}/
39 mkdir -p ${result_dir}
42 --problem_number=${problem_number} \
43 --nb_train_samples=${nb_samples_to_save} \
44 --result_path=${result_dir} \
48 --problem_number=${problem_number} \
49 --nb_train_samples=${nb_samples_for_training} \
50 --result_path=${result_dir} \
52 randomize-train adaboost compute-train-error compute-test-error | tee ${result_dir}/log