Commit 04e0d32ab1dede656371ff716188280ce85e06f9
1 parent
d2fe5fb5
Temporary attribute fix
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/plugins/turk.cpp
| ... | ... | @@ -105,6 +105,7 @@ class TurkClassifierTransform : public Transform |
| 105 | 105 | void init() |
| 106 | 106 | { |
| 107 | 107 | QStringList classifiers; |
| 108 | + isMeta = false; // Trying to satisfy a bug. This is not used anyways. | |
| 108 | 109 | foreach (const QString &value, values) |
| 109 | 110 | classifiers.append(QString("(SVM(RBF,EPS_SVR,returnDFVal=true,inputVariable=%1,outputVariable=predicted_%1)%2)").arg(key + "_" + value, isMeta ? QString("+Average+SaveMat(predicted_%1)").arg(value) : QString())); |
| 110 | 111 | child = Transform::make(classifiers.join("/") + (classifiers.size() > 1 ? "+Cat" : "")); | ... | ... |