Automatic commit
authorFrancois Fleuret <francois@fleuret.org>
Tue, 8 Dec 2009 21:12:50 +0000 (22:12 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 8 Dec 2009 21:12:50 +0000 (22:12 +0100)
doit.sh
vision_test.cc

diff --git a/doit.sh b/doit.sh
index 1315b59..a6bb4ae 100755 (executable)
--- 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
index 94591f1..3a445e7 100644 (file)
@@ -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) {