Logo ROOT  
Reference Guide
TrainingHistory.h
Go to the documentation of this file.
1/**********************************************************************************
2 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
3 * Package: TMVA *
4 * Class : MsgLogger *
5 * Web : http://tmva.sourceforge.net *
6 * *
7 * Description: *
8 * Implementation (see header for description) *
9 * *
10 * Author: *
11 * Joseph McKenna <Joseph.McKenna@cern.ch> - Aarhus, Denmark *
12 * *
13* Copyright (c) 2019: *
14 * Aarhus, Denmark *
15 * *
16 * Redistribution and use in source and binary forms, with or without *
17 * modification, are permitted according to the terms listed in LICENSE *
18 * (http://tmva.sourceforge.net/LICENSE) *
19 **********************************************************************************/
20
21
22#ifndef ROOT_TMVA_TrainingHistory
23#define ROOT_TMVA_TrainingHistory
24
25#include <vector>
26#include "TString.h"
27#include <map>
28
29namespace TMVA {
30
32
33 public:
34 typedef std::vector<std::pair<Int_t,Double_t>> IterationRecord;
36 virtual ~TrainingHistory();
37
38 void AddValue(TString Property, Int_t stage, Double_t value);
40 private:
41 std::map<TString,int> fHistoryMap;
42 std::vector<IterationRecord*> fHistoryData;
43
44 };
45
46} // namespace TMVA
47
48#endif
double Double_t
Definition: RtypesCore.h:57
Tracking data from training.
void AddValue(TString Property, Int_t stage, Double_t value)
std::vector< std::pair< Int_t, Double_t > > IterationRecord
std::vector< IterationRecord * > fHistoryData
std::map< TString, int > fHistoryMap
void SaveHistory(TString Name)
TrainingHistory()
constructor
Basic string class.
Definition: TString.h:131
create variable transformations
const char * Name
Definition: TXMLSetup.cxx:66