Commit 5d075f94a0343a4dc514d2f259892c55629cfc70

Authored by Josh Klontz
1 parent 68a02b5a

added debug output to LDA

openbr/plugins/classification/lda.cpp
... ... @@ -478,6 +478,8 @@ class LDATransform : public Transform
478 478 if (normalize)
479 479 stdDev = sqrt(results.array().square().sum() / trainingSet.size());
480 480 }
  481 +
  482 + qDebug() << "LDA projection dimensions:" << projection.rows() << "->" << projection.cols();
481 483 }
482 484  
483 485 void project(const Template &src, Template &dst) const
... ...