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#include "TH1D.h"
29#include <iostream>
30namespace TMVA {
31
32
34
35 public:
36 typedef std::vector<std::pair<Int_t,Double_t>> IterationRecord;
38 virtual ~TrainingHistory();
39
40 void AddValue(TString Property, Int_t stage, Double_t value);
42 private:
43 std::map<TString,int> fHistoryMap;
44 std::vector<IterationRecord*> fHistoryData;
45
46 };
47
48} // namespace TMVA
49
50#endif
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
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