From 5d075f94a0343a4dc514d2f259892c55629cfc70 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Sun, 14 Jun 2015 10:15:45 -0400 Subject: [PATCH] added debug output to LDA --- openbr/plugins/classification/lda.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/classification/lda.cpp b/openbr/plugins/classification/lda.cpp index 4fc9ff5..44917e6 100644 --- a/openbr/plugins/classification/lda.cpp +++ b/openbr/plugins/classification/lda.cpp @@ -478,6 +478,8 @@ class LDATransform : public Transform if (normalize) stdDev = sqrt(results.array().square().sum() / trainingSet.size()); } + + qDebug() << "LDA projection dimensions:" << projection.rows() << "->" << projection.cols(); } void project(const Template &src, Template &dst) const -- libgit2 0.21.4