Commit 17fbc6bbb02dee8e3b16e2a780e944ea04d807a3

Authored by Scott Klum
1 parent 25bb2b86

Added some verbose output

openbr/plugins/representation/random.cpp
@@ -31,6 +31,10 @@ class RandomRepresentation : public Representation @@ -31,6 +31,10 @@ class RandomRepresentation : public Representation
31 representation->train(images, labels); 31 representation->train(images, labels);
32 32
33 const int nFeatures = representation->numFeatures(); 33 const int nFeatures = representation->numFeatures();
  34 +
  35 + if (Globals->verbose)
  36 + qDebug() << "Randomly sampling from" << nFeatures << "features.";
  37 +
34 features = Common::RandSample(count,nFeatures,0,true); 38 features = Common::RandSample(count,nFeatures,0,true);
35 } 39 }
36 40