Logo ROOT   6.16/01
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 : VarTransformHandler *
5 * Web : http://tmva.sourceforge.net *
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 * (http://tmva.sourceforge.net/LICENSE) *
19 **********************************************************************************/
20
21#ifndef ROOT_TMVA_VarTransformHandler
22#define ROOT_TMVA_VarTransformHandler
23
24#include "TList.h"
25#include "TString.h"
26#include "TMVA/Types.h"
27#include "TMVA/DataSetInfo.h"
28
29class TTree;
30class TFile;
31class TDirectory;
32
33namespace TMVA {
34
35 class DataLoader;
36 class MethodBase;
37 class DataSetInfo;
38 class Event;
39 class DataSet;
40 class MsgLogger;
41 class DataInputHandler;
43 public:
44
47
49 mutable MsgLogger* fLogger; //! message logger
50 MsgLogger& Log() const { return *fLogger; }
51
52 private:
53
56 const std::vector<Event*>& fEvents;
57 void UpdateNorm (Int_t ivar, Double_t x);
58 void CalcNorm();
60 };
61}
62
63#endif
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
Describe directory structure in memory.
Definition: TDirectory.h:34
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Definition: TFile.h:48
Class that contains all the data information.
Definition: DataSetInfo.h:60
ostringstream derivative to redirect and format output
Definition: MsgLogger.h:59
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
VarTransformHandler(DataLoader *)
constructor
A TTree object has a header with a name and a title.
Definition: TTree.h:71
Double_t x[n]
Definition: legend1.C:17
Abstract ClassifierFactory template that handles arbitrary types.