38#ifndef LA_BASIC_LOGGER_H
39#define LA_BASIC_LOGGER_H
43#include "log/laLogger.h"
69 void logResults(std::multimap<std::shared_ptr<Learn::EvaluationResult>,
82 std::ostream& out = std::cout)
86 *
this << std::setprecision(2) << std::fixed << std::right;
126 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
147 std::multimap<std::shared_ptr<Learn::EvaluationResult>,
Class used to control the learning steps of a TPGGraph within a given LearningEnvironment.
Definition learningAgent.h:67
Basic logger that will display some useful information.
Definition laBasicLogger.h:55
virtual void logAfterDecimate() override
Does nothing in this logger.
Definition laBasicLogger.cpp:226
LABasicLogger(Learn::LearningAgent &la, std::ostream &out=std::cout)
Same constructor as LaLogger. Default output is cout.
Definition laBasicLogger.h:81
virtual void logEndOfTraining() override
Logs the eval, valid (if doValidation is true) and total running time.
Definition laBasicLogger.cpp:234
virtual void logAfterPopulateTPG() override
Logs the vertices nb of the tpg.
Definition laBasicLogger.cpp:188
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:195
virtual void logNewGeneration(uint64_t &generationNumber) override
Logs the generation of training.
Definition laBasicLogger.cpp:165
virtual void logHeader() override
Logs the header (column names) of the tab that will be logged.
Definition laBasicLogger.cpp:98
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:207
Learning Agent logger class that will be called during LearningAgent executions.
Definition laLogger.h:65
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition cycleDetectionLALogger.h:38