MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ContinuousLearningApplication.hpp
Go to the documentation of this file.
1 
23 #ifndef SRC_OPENGL_APPLICATION_CONTINUOUSLEARNINGAPPLICATION_HPP_
24 #define SRC_OPENGL_APPLICATION_CONTINUOUSLEARNINGAPPLICATION_HPP_
25 
27 
28 namespace mic {
29 namespace application {
30 
39 public:
40 
45  ContinuousLearningApplication(std::string node_name_);
46 
51 
55  void run();
56 
57 protected:
58 
62  virtual bool performSingleStep(void);
63 
67  virtual bool performLearningStep() = 0;
68 
73  virtual bool performTestingStep();
74 
78  virtual void collectTestStatistics() { };
79 
83  virtual void populateTestStatistics() { };
84 
87 
90 
92  unsigned long learning_iteration;
93 
94 };
95 
96 } /* namespace application */
97 } /* namespace mic */
98 
99 #endif /* SRC_OPENGL_APPLICATION_CONTINUOUSLEARNINGAPPLICATION_HPP_ */
virtual bool performSingleStep(void)
Performs single step of computations - switches between learning and testing depending on the iterati...
Base class for all applications.
Definition: Application.hpp:38
mic::configuration::Property< unsigned int > learning_iterations_to_test_ratio
Number of learning steps after which a single classification test will be performed.
Contains declaration of a base class for all applications.
unsigned long learning_iteration
Learning iteration counter - used in interlaces learning/testing mode.
Parent class for all applications basing on continuous learning. By default all computations are made...
mic::configuration::Property< unsigned int > number_of_averaged_test_measures
Numbers of steps that will be averages.