Logo ROOT   6.08/07
Reference Guide
VarTransformHandler.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 : Interval *
5  * Web : http://tmva.sourceforge.net *
6  * *
7  * Description: *
8  * Extension of the Interval to "logarithmic" invarvals *
9  * *
10  * *
11  * *
12  * Authors (alphabetical): *
13  * Abhinav Moudgil *
14  * *
15  * Copyright (c) 2005: *
16  * CERN, Switzerland *
17  * *
18  * Redistribution and use in source and binary forms, with or without *
19  * modification, are permitted according to the terms listed in LICENSE *
20  * (http://tmva.sourceforge.net/LICENSE) *
21  **********************************************************************************/
22 
23 #ifndef ROOT_TMVA_VarTransformHandler
24 #define ROOT_TMVA_VarTransformHandler
25 
26 #include "TList.h"
27 #include "TString.h"
28 #include "TMVA/Types.h"
29 #include "TMVA/DataSetInfo.h"
30 
31 class TTree;
32 class TFile;
33 class TDirectory;
34 
35 namespace TMVA {
36 
37  class DataLoader;
38  class MethodBase;
39  class DataSetInfo;
40  class Event;
41  class DataSet;
42  class MsgLogger;
43  class DataInputHandler;
45  public:
46 
49 
51  mutable MsgLogger* fLogger; //! message logger
52  MsgLogger& Log() const { return *fLogger; }
53 
54  private:
55 
58  const std::vector<Event*>& fEvents;
59  void UpdateNorm (Int_t ivar, Double_t x);
60  void CalcNorm();
62  };
63 }
64 
65 #endif
void CalcNorm()
Computes maximum, minimum, mean, RMS and variance for all variables and targets.
TMVA::DataLoader * VarianceThreshold(Double_t threshold)
Computes variance of all the variables and returns a new DataLoader with the selected variables whose...
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Definition: TFile.h:50
int Int_t
Definition: RtypesCore.h:41
Double_t x[n]
Definition: legend1.C:17
void UpdateNorm(Int_t ivar, Double_t x)
Updates maximum and minimum value of a variable or target.
VarTransformHandler(DataLoader *)
constructor
const std::vector< Event * > & fEvents
double Double_t
Definition: RtypesCore.h:55
Describe directory structure in memory.
Definition: TDirectory.h:44
Abstract ClassifierFactory template that handles arbitrary types.
A TTree object has a header with a name and a title.
Definition: TTree.h:98
void CopyDataLoader(TMVA::DataLoader *des, TMVA::DataLoader *src)
MsgLogger & Log() const
message logger