From: Francois Fleuret Date: Tue, 8 Dec 2009 21:12:50 +0000 (+0100) Subject: Automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=37655efbc4fa519a7305e05c651bd0959b9d77ca;p=svrt.git Automatic commit --- diff --git a/doit.sh b/doit.sh index 1315b59..a6bb4ae 100755 --- a/doit.sh +++ b/doit.sh @@ -48,6 +48,7 @@ for problem_number in ${problem_list}; do --problem_number=${problem_number} \ --nb_train_samples=${nb_samples_for_training} \ --result_path=${result_dir} \ - randomize-train adaboost compute-train-error compute-test-error + --progress_bar=no \ + randomize-train adaboost compute-train-error compute-test-error | tee ${result_dir}/log done diff --git a/vision_test.cc b/vision_test.cc index 94591f1..3a445e7 100644 --- a/vision_test.cc +++ b/vision_test.cc @@ -1,4 +1,4 @@ -c/* +/* * svrt is the ``Synthetic Visual Reasoning Test'', an image * generator for evaluating classification performance of machine * learning systems, humans and primates. @@ -188,13 +188,11 @@ int main(int argc, char **argv) { for(int c = 1; c < new_argc; c++) { if(strcmp(new_argv[c], "randomize-train") == 0) { + cout << "Generating the training set." << endl; for(int n = 0; n < global.nb_train_samples; n++) { - if(n > 0 && n%100 == 0) cout << "*"; cout.flush(); - // cout << "n = " << n << endl; train_labels[n] = int(drand48() * 2); generator->generate(train_labels[n], &train_samples[n]); } - cout << endl; } else if(strcmp(new_argv[c], "adaboost") == 0) {