Warning, file /include/root/TMVA/TrainingHistory.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef ROOT_TMVA_TrainingHistory
0023 #define ROOT_TMVA_TrainingHistory
0024
0025 #include <vector>
0026 #include "TString.h"
0027 #include <map>
0028
0029 namespace TMVA {
0030
0031 class TrainingHistory {
0032
0033 public:
0034 typedef std::vector<std::pair<Int_t,Double_t>> IterationRecord;
0035 TrainingHistory();
0036 virtual ~TrainingHistory();
0037
0038 void AddValue(TString Property, Int_t stage, Double_t value);
0039 void SaveHistory(TString Name);
0040 private:
0041 std::map<TString,int> fHistoryMap;
0042 std::vector<IterationRecord*> fHistoryData;
0043
0044 };
0045
0046 }
0047
0048 #endif