Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Openvibe Group
extras
Commits
2be620df
Commit
2be620df
authored
May 09, 2016
by
Jussi Lindgren
Browse files
Plugins: Fixed problem of xval setting placement in Classifier Trainer
parent
e7ac6a5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/processing/classification/src/box-algorithms/ovpCBoxAlgorithmCommonClassifierListener.inl
View file @
2be620df
...
...
@@ -11,7 +11,7 @@
#include <vector>
#include <iostream>
//#define OV_DEBUG_CLASSIFIER_LISTENER
//
#define OV_DEBUG_CLASSIFIER_LISTENER
#ifdef OV_DEBUG_CLASSIFIER_LISTENER
#define DEBUG_PRINT(x) x
...
...
@@ -403,8 +403,9 @@ namespace OpenViBEPlugins
if(l_bValid)
{
rBox.addSetting(l_sParameterName, l_oTypeIdentifier, l_sBuffer, rBox.getSettingCount()-1);
DEBUG_PRINT(std::cout << "Adding setting (case A) " << l_sParameterName << " : " << l_sBuffer << "\n";)
// @FIXME argh, the -2 is a hard coding that the classifier trainer has 2 settings after the classifier setting... ouch
DEBUG_PRINT(std::cout << "Adding setting (case A) " << l_sParameterName << " : " << l_sBuffer << " to slot " << rBox.getSettingCount()-2 << "\n";)
rBox.addSetting(l_sParameterName, l_oTypeIdentifier, l_sBuffer, rBox.getSettingCount()-2);
i++;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment