37#ifndef LA_BASIC_LOGGER_H
38#define LA_BASIC_LOGGER_H
42#include "log/laLogger.h"
68 void logResults(std::multimap<std::shared_ptr<Learn::EvaluationResult>,
81 std::ostream& out = std::cout)
85 *
this << std::setprecision(2) << std::fixed << std::right;
125 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
148 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
Class used to control the learning steps of a TPGGraph within a given LearningEnvironment.
Definition: learningAgent.h:63
Basic logger that will display some useful information.
Definition: laBasicLogger.h:54
LABasicLogger(Learn::LearningAgent &la, std::ostream &out=std::cout)
Same constructor as LaLogger. Default output is cout.
Definition: laBasicLogger.h:80
virtual void logEndOfTraining() override
Logs the eval, valid (if doValidation is true) and total running time.
Definition: laBasicLogger.cpp:131
virtual void logAfterPopulateTPG() override
Logs the vertices nb of the tpg.
Definition: laBasicLogger.cpp:98
virtual void logAfterEvaluate(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results) override
Logs the min, avg and max score of the generation.
Definition: laBasicLogger.cpp:108
virtual void logNewGeneration(uint64_t &generationNumber) override
Logs the generation of training.
Definition: laBasicLogger.cpp:91
virtual void logHeader() override
Logs the header (column names) of the tab that will be logged.
Definition: laBasicLogger.cpp:63
virtual void logAfterDecimate() override
Does nothing in this logger.
Definition: laBasicLogger.h:133
virtual void logAfterValidate(std::multimap< std::shared_ptr< Learn::EvaluationResult >, const TPG::TPGVertex * > &results) override
Logs the min, avg and max score of the generation.
Definition: laBasicLogger.cpp:120
Learning Agent logger class that will be called during LearningAgent executions.
Definition: laLogger.h:64
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: laBasicLogger.h:44