/********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : MsgLogger * * Web : http://tmva.sourceforge.net * * * * Description: * * Implementation (see header for description) * * * * Author: * * Joseph McKenna - Aarhus, Denmark * * * * Copyright (c) 2019: * * Aarhus, Denmark * * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted according to the terms listed in LICENSE * * (http://tmva.sourceforge.net/LICENSE) * **********************************************************************************/ #ifndef ROOT_TMVA_TrainingHistory #define ROOT_TMVA_TrainingHistory #include #include "TString.h" #include namespace TMVA { class TrainingHistory { public: typedef std::vector> IterationRecord; TrainingHistory(); virtual ~TrainingHistory(); void AddValue(TString Property, Int_t stage, Double_t value); void SaveHistory(TString Name); private: std::map fHistoryMap; std::vector fHistoryData; }; } // namespace TMVA #endif