MachineIntelligenceCore:Visualization
|
#include <OpenGLContinuousLearningApplication.hpp>
Public Member Functions | |
OpenGLContinuousLearningApplication (std::string node_name_) | |
virtual | ~OpenGLContinuousLearningApplication () |
Public Member Functions inherited from mic::opengl::application::OpenGLApplication | |
OpenGLApplication (std::string node_name_) | |
virtual | ~OpenGLApplication () |
virtual void | initialize (int argc, char *argv[])=0 |
virtual void | run () |
Protected Member Functions | |
virtual bool | performSingleStep (void) |
Performs single step of computations - switches between learning and testing depending on the iteration number. More... | |
virtual bool | performLearningStep ()=0 |
virtual bool | performTestingStep () |
virtual void | collectTestStatistics () |
virtual void | populateTestStatistics () |
Protected Member Functions inherited from mic::opengl::application::OpenGLApplication | |
virtual void | processingThread (void) |
Function realizing the processing thread. Implements basic quit/pause/single step functionality. In each step it calls the performSingleStep() method. Can be overridden by derived classes. More... | |
virtual void | performInitialStep (void) |
The initial step - empty, to be overridden. More... | |
virtual void | performFinalStep (void) |
The initial step - empty, to be overridden. More... | |
Protected Attributes | |
mic::configuration::Property < unsigned int > | learning_iterations_to_test_ratio |
Number of learning steps after which a single classification test will be performed. More... | |
mic::configuration::Property < unsigned int > | number_of_averaged_test_measures |
Numbers of steps that will be averages. More... | |
unsigned long | learning_iteration |
Learning iteration counter - used in interlaces learning/testing mode. More... | |
Definition at line 32 of file OpenGLContinuousLearningApplication.hpp.
mic::opengl::application::OpenGLContinuousLearningApplication::OpenGLContinuousLearningApplication | ( | std::string | node_name_ | ) |
Default constructor. Sets the application/node name and registers properties.
node_name_ | Name of the application/node (in configuration file). |
Definition at line 29 of file OpenGLContinuousLearningApplication.cpp.
References learning_iteration, learning_iterations_to_test_ratio, and number_of_averaged_test_measures.
|
inlinevirtual |
Default destructor - empty.
Definition at line 44 of file OpenGLContinuousLearningApplication.hpp.
|
inlineprotectedvirtual |
Collects test statistics, executed in every testing step - virtual, empty now, to be overridden.
Definition at line 67 of file OpenGLContinuousLearningApplication.hpp.
Referenced by performTestingStep().
|
protectedpure virtual |
Perform learning - abstract, to be overridden.
Referenced by performSingleStep().
|
protectedvirtual |
Performs single step of computations - switches between learning and testing depending on the iteration number.
Definition at line 41 of file OpenGLContinuousLearningApplication.cpp.
References learning_iterations_to_test_ratio, performLearningStep(), and performTestingStep().
|
protectedvirtual |
Testing is divided into two phases: collection of test statistics and their population. The former is executed in every testing step, whereas the latter only every number_of_averaged_test_measures testing steps.
Definition at line 53 of file OpenGLContinuousLearningApplication.cpp.
References collectTestStatistics(), learning_iteration, number_of_averaged_test_measures, and populateTestStatistics().
Referenced by performSingleStep().
|
inlineprotectedvirtual |
Populates test statistics, executed only every number_of_averaged_test_measures testing steps - virtual, empty now, to be overridden.
Definition at line 72 of file OpenGLContinuousLearningApplication.hpp.
Referenced by performTestingStep().
|
protected |
Learning iteration counter - used in interlaces learning/testing mode.
Definition at line 81 of file OpenGLContinuousLearningApplication.hpp.
Referenced by OpenGLContinuousLearningApplication(), and performTestingStep().
|
protected |
Number of learning steps after which a single classification test will be performed.
Definition at line 72 of file OpenGLContinuousLearningApplication.hpp.
Referenced by OpenGLContinuousLearningApplication(), and performSingleStep().
|
protected |
Numbers of steps that will be averages.
Definition at line 78 of file OpenGLContinuousLearningApplication.hpp.
Referenced by OpenGLContinuousLearningApplication(), and performTestingStep().