25 #include <system_utils/windows_extras.hpp>
29 namespace application {
32 learning_iterations_to_test_ratio(
"learning_iterations_to_test_ratio", 50),
33 number_of_averaged_test_measures(
"number_of_averaged_test_measures", 5)
Contains declaration of a base class for all continuous learning type applications.
#define APP_SLEEP()
Macro which sleeps the application for a time specified by the sleep_interval variable stored in APP_...
ContinuousLearningApplication(std::string node_name_)
virtual bool performSingleStep(void)
Performs single step of computations - switches between learning and testing depending on the iterati...
Base class for all applications.
mic::configuration::Property< unsigned int > learning_iterations_to_test_ratio
Number of learning steps after which a single classification test will be performed.
#define APP_STATE
Macro returning application state instance.
unsigned long learning_iteration
Learning iteration counter - used in interlaces learning/testing mode.
#define APP_DATA_SYNCHRONIZATION_SCOPED_LOCK()
Macro creating a scoped lock with the use of data_synchronizaton_mutex stored by WindowManager.
virtual bool performLearningStep()=0
virtual void populateTestStatistics()
unsigned long iteration
Iteration counter.
mic::configuration::Property< unsigned int > number_of_averaged_test_measures
Numbers of steps that will be averages.
virtual void collectTestStatistics()
#define LOG(level)
Macro for message printing.
virtual bool performTestingStep()
void registerProperty(PropertyInterface &prop)