27 namespace application {
30 learning_iterations_to_test_ratio(
"learning_iterations_to_test_ratio", 50),
31 number_of_averaged_test_measures(
"number_of_averaged_test_measures", 5)
An abstract class implementing basic functions for two-threaded, OpenGL-based applications. Introduces the execution phases that are typical for all learning/classification applications, imposes fine code granulation.
virtual void populateTestStatistics()
virtual bool performLearningStep()=0
OpenGLContinuousLearningApplication(std::string node_name_)
virtual bool performTestingStep()
virtual bool performSingleStep(void)
Performs single step of computations - switches between learning and testing depending on the iterati...
mic::configuration::Property< unsigned int > learning_iterations_to_test_ratio
Number of learning steps after which a single classification test will be performed.
mic::configuration::Property< unsigned int > number_of_averaged_test_measures
Numbers of steps that will be averages.
unsigned long learning_iteration
Learning iteration counter - used in interlaces learning/testing mode.
virtual void collectTestStatistics()