Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 : VarTransformHandler *
5 * *
6 * *
7 * Description: *
8 * Implementation of unsupervised variable transformation methods *
9 * *
10 * Authors (alphabetical): *
11 * Abhinav Moudgil <abhinav.moudgil@research.iiit.ac.in> - IIIT-H, India *
12 * *
13 * Copyright (c) 2005: *
14 * CERN, Switzerland *
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#ifndef ROOT_TMVA_VarTransformHandler
22#define ROOT_TMVA_VarTransformHandler
23
24#include "TMVA/Types.h"
25#include "TMVA/DataSetInfo.h"
26#include <vector>
27
28class TTree;
29class TFile;
30class TDirectory;
31
32namespace TMVA {
33
34 class DataLoader;
35 class MethodBase;
36 class DataSetInfo;
37 class Event;
38 class DataSet;
39 class MsgLogger;
40 class DataInputHandler;
42 public:
43
46
48 mutable MsgLogger* fLogger; //! message logger
49 MsgLogger& Log() const { return *fLogger; }
50
51 private:
52
55 const std::vector<Event*>& fEvents;
56 void UpdateNorm (Int_t ivar, Double_t x);
57 void CalcNorm();
59 };
60}
61
62#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
Describe directory structure in memory.
Definition TDirectory.h:45
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Definition TFile.h:53
Class that contains all the data information.
Definition DataSetInfo.h:62
ostringstream derivative to redirect and format output
Definition MsgLogger.h:57
void UpdateNorm(Int_t ivar, Double_t x)
Updates maximum and minimum value of a variable or target.
MsgLogger & Log() const
message logger
void CopyDataLoader(TMVA::DataLoader *des, TMVA::DataLoader *src)
TMVA::DataLoader * VarianceThreshold(Double_t threshold)
Computes variance of all the variables and returns a new DataLoader with the selected variables whose...
void CalcNorm()
Computes maximum, minimum, mean, RMS and variance for all variables and targets.
const std::vector< Event * > & fEvents
A TTree represents a columnar dataset.
Definition TTree.h:79
Double_t x[n]
Definition legend1.C:17
create variable transformations