Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 * *
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 * (see tmva/doc/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);
39 void SaveHistory(TString Name);
40 private:
41 std::map<TString,int> fHistoryMap;
42 std::vector<IterationRecord*> fHistoryData;
43
44 };
45
46} // namespace TMVA
47
48#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
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)
Basic string class.
Definition TString.h:139
create variable transformations