ROOT
Version v6.32
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
▼
tmva
doc
►
pymva
►
rmva
►
sofie
►
sofie_parsers
▼
tmva
▼
inc
▼
TMVA
►
DNN
BDTEventWrapper.h
BinarySearchTree.h
BinarySearchTreeNode.h
►
BinaryTree.h
CCPruner.h
►
CCTreeWrapper.h
►
Classification.h
►
ClassifierFactory.h
ClassInfo.h
►
Config.h
►
Configurable.h
ConvergenceTest.h
CostComplexityPruneTool.h
CrossEntropy.h
►
CrossValidation.h
►
CvSplit.h
►
DataInputHandler.h
►
DataLoader.h
DataSet.h
►
DataSetFactory.h
DataSetInfo.h
DataSetManager.h
DecisionTree.h
►
DecisionTreeNode.h
Envelope.h
►
Event.h
►
Executor.h
ExpectedErrorPruneTool.h
Factory.h
FitterBase.h
GeneticAlgorithm.h
GeneticFitter.h
►
GeneticGenes.h
GeneticPopulation.h
GeneticRange.h
GiniIndex.h
GiniIndexWithLaplace.h
HyperParameterOptimisation.h
IFitterTarget.h
IMethod.h
Interval.h
►
IPruneTool.h
KDEKernel.h
►
LDA.h
LogInterval.h
►
LossFunction.h
MCFitter.h
MethodANNBase.h
MethodBase.h
MethodBayesClassifier.h
MethodBDT.h
MethodBoost.h
MethodCategory.h
MethodCFMlpANN.h
MethodCFMlpANN_def.h
►
MethodCFMlpANN_Utils.h
MethodCompositeBase.h
MethodCrossValidation.h
MethodCuts.h
►
MethodDL.h
►
MethodDNN.h
MethodDT.h
MethodFDA.h
MethodFisher.h
MethodHMatrix.h
MethodKNN.h
MethodLD.h
MethodLikelihood.h
►
MethodMLP.h
MethodPDEFoam.h
MethodPDERS.h
MethodRuleFit.h
MethodSVM.h
MethodTMlpANN.h
MinuitFitter.h
MinuitWrapper.h
MisClassificationError.h
►
ModulekNN.h
►
Monitoring.h
►
MsgLogger.h
►
NeuralNet.h
►
NeuralNet.icc
►
Node.h
►
NodekNN.h
OptimizeConfigParameters.h
►
Option.h
►
OptionMap.h
►
Pattern.h
PDEFoam.h
PDEFoamCell.h
PDEFoamDecisionTree.h
PDEFoamDecisionTreeDensity.h
PDEFoamDensityBase.h
PDEFoamDiscriminant.h
PDEFoamDiscriminantDensity.h
PDEFoamEvent.h
PDEFoamEventDensity.h
PDEFoamKernelBase.h
PDEFoamKernelGauss.h
PDEFoamKernelLinN.h
PDEFoamKernelTrivial.h
PDEFoamMultiTarget.h
PDEFoamTarget.h
PDEFoamTargetDensity.h
PDEFoamVect.h
►
PDF.h
►
QuickMVAProbEstimator.h
►
Ranking.h
►
RBatchGenerator.hxx
►
RBatchLoader.hxx
►
RBDT.hxx
►
RChunkLoader.hxx
Reader.h
RegressionVariance.h
Results.h
ResultsClassification.h
ResultsMulticlass.h
ResultsRegression.h
►
RInferenceUtils.hxx
ROCCalc.h
ROCCurve.h
RootFinder.h
►
RReader.hxx
►
RSofieReader.hxx
►
RStandardScaler.hxx
►
RTensor.hxx
►
RTensorUtils.hxx
►
Rule.h
RuleCut.h
►
RuleEnsemble.h
RuleFit.h
►
RuleFitAPI.h
►
RuleFitParams.h
SdivSqrtSplusB.h
SeparationBase.h
SimulatedAnnealing.h
SimulatedAnnealingFitter.h
SVEvent.h
SVKernelFunction.h
SVKernelMatrix.h
SVWorkingSet.h
TActivation.h
TActivationChooser.h
TActivationIdentity.h
TActivationRadial.h
TActivationReLU.h
TActivationSigmoid.h
TActivationTanh.h
Timer.h
►
TNeuron.h
TNeuronInput.h
TNeuronInputAbs.h
TNeuronInputChooser.h
TNeuronInputSqSum.h
TNeuronInputSum.h
►
Tools.h
TrainingHistory.h
►
TransformationHandler.h
TSpline1.h
TSpline2.h
►
TSynapse.h
Types.h
VariableDecorrTransform.h
►
VariableGaussTransform.h
VariableIdentityTransform.h
VariableImportance.h
VariableInfo.h
VariableNormalizeTransform.h
VariablePCATransform.h
VariableRearrangeTransform.h
►
VariableTransform.h
VariableTransformBase.h
►
VarTransformHandler.h
►
Version.h
Volume.h
►
src
►
tmvagui
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
VariableDecorrTransform.h
Go to the documentation of this file.
1
// @(#)root/tmva $Id$
2
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss
3
4
/**********************************************************************************
5
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6
* Package: TMVA *
7
* Class : VariableDecorrTransform *
8
* *
9
* *
10
* Description: *
11
* Decorrelation of input variables *
12
* *
13
* Authors (alphabetical): *
14
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
15
* Joerg Stelzer <Joerg.Stelzer@cern.ch> - CERN, Switzerland *
16
* Helge Voss <Helge.Voss@cern.ch> - MPI-K Heidelberg, Germany *
17
* *
18
* Copyright (c) 2005: *
19
* CERN, Switzerland *
20
* U. of Victoria, Canada *
21
* MPI-K Heidelberg, Germany *
22
* *
23
* Redistribution and use in source and binary forms, with or without *
24
* modification, are permitted according to the terms listed in LICENSE *
25
* (see tmva/doc/LICENSE) *
26
**********************************************************************************/
27
28
#ifndef ROOT_TMVA_VariableDecorrTransform
29
#define ROOT_TMVA_VariableDecorrTransform
30
31
//////////////////////////////////////////////////////////////////////////
32
// //
33
// VariableDecorrTransform //
34
// //
35
// Linear interpolation class //
36
// //
37
//////////////////////////////////////////////////////////////////////////
38
39
#include "
TMatrixDfwd.h
"
40
41
#include "
TMatrixDSymfwd.h
"
42
43
#include "
TMVA/VariableTransformBase.h
"
44
45
#include <vector>
46
47
namespace
TMVA
{
48
49
class
VariableDecorrTransform
:
public
VariableTransformBase
{
50
51
public
:
52
53
VariableDecorrTransform
(
DataSetInfo
&
dsi
);
54
virtual
~VariableDecorrTransform
(
void
);
55
56
void
Initialize
();
57
Bool_t
PrepareTransformation
(
const
std::vector<Event*>&);
58
59
// virtual const Event* Transform(const Event* const, Types::ESBType type = Types::kMaxSBType) const;
60
virtual
const
Event
*
Transform
(
const
Event
*
const
,
Int_t
cls
)
const
;
61
virtual
const
Event
*
InverseTransform
(
const
Event
*
const
,
Int_t
cls
)
const
;
62
63
void
WriteTransformationToStream
( std::ostream& )
const
;
64
void
ReadTransformationFromStream
( std::istream&,
const
TString
& );
65
66
virtual
void
AttachXMLTo
(
void
* parent);
67
virtual
void
ReadFromXML
(
void
*
trfnode
);
68
69
virtual
void
PrintTransformation
( std::ostream & o );
70
71
// writer of function code
72
virtual
void
MakeFunction
( std::ostream&
fout
,
const
TString
&
fncName
,
Int_t
part
,
UInt_t
trCounter
,
Int_t
cls
);
73
74
// provides string vector giving explicit transformation
75
std::vector<TString>*
GetTransformationStrings
(
Int_t
cls
)
const
;
76
77
private
:
78
79
// mutable Event* fTransformedEvent; ///<! local event copy
80
std::vector<TMatrixD*>
fDecorrMatrices
;
///<! Decorrelation matrix [class0/class1/.../all classes]
81
82
void
CalcSQRMats
(
const
std::vector< Event*>&,
Int_t
maxCls
);
83
std::vector<TMatrixDSym*>*
CalcCovarianceMatrices
(
const
std::vector<const Event*>&
events
,
Int_t
maxCls
);
84
85
ClassDef
(
VariableDecorrTransform
,0);
// Variable transformation: decorrelation
86
};
87
88
}
// namespace TMVA
89
90
#endif
91
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:337
TMatrixDSymfwd.h
TMatrixDfwd.h
VariableTransformBase.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TMVA::DataSetInfo
Class that contains all the data information.
Definition
DataSetInfo.h:62
TMVA::Event
Definition
Event.h:51
TMVA::VariableDecorrTransform
Linear interpolation class.
Definition
VariableDecorrTransform.h:49
TMVA::VariableDecorrTransform::PrintTransformation
virtual void PrintTransformation(std::ostream &o)
prints the transformation matrix
Definition
VariableDecorrTransform.cxx:413
TMVA::VariableDecorrTransform::MakeFunction
virtual void MakeFunction(std::ostream &fout, const TString &fncName, Int_t part, UInt_t trCounter, Int_t cls)
creates C++ code fragment of the decorrelation transform for inclusion in standalone C++ class
Definition
VariableDecorrTransform.cxx:425
TMVA::VariableDecorrTransform::~VariableDecorrTransform
virtual ~VariableDecorrTransform(void)
destructor
Definition
VariableDecorrTransform.cxx:65
TMVA::VariableDecorrTransform::fDecorrMatrices
std::vector< TMatrixD * > fDecorrMatrices
! Decorrelation matrix [class0/class1/.../all classes]
Definition
VariableDecorrTransform.h:80
TMVA::VariableDecorrTransform::PrepareTransformation
Bool_t PrepareTransformation(const std::vector< Event * > &)
calculate the decorrelation matrix and the normalization
Definition
VariableDecorrTransform.cxx:82
TMVA::VariableDecorrTransform::Initialize
void Initialize()
initialisation
Definition
VariableDecorrTransform.cxx:75
TMVA::VariableDecorrTransform::CalcCovarianceMatrices
std::vector< TMatrixDSym * > * CalcCovarianceMatrices(const std::vector< const Event * > &events, Int_t maxCls)
TMVA::VariableDecorrTransform::VariableDecorrTransform
VariableDecorrTransform(DataSetInfo &dsi)
constructor
Definition
VariableDecorrTransform.cxx:57
TMVA::VariableDecorrTransform::CalcSQRMats
void CalcSQRMats(const std::vector< Event * > &, Int_t maxCls)
compute square-root matrices for signal and background
Definition
VariableDecorrTransform.cxx:244
TMVA::VariableDecorrTransform::ReadFromXML
virtual void ReadFromXML(void *trfnode)
Read the transformation matrices from the xml node.
Definition
VariableDecorrTransform.cxx:322
TMVA::VariableDecorrTransform::GetTransformationStrings
std::vector< TString > * GetTransformationStrings(Int_t cls) const
creates string with variable transformations applied
Definition
VariableDecorrTransform.cxx:114
TMVA::VariableDecorrTransform::WriteTransformationToStream
void WriteTransformationToStream(std::ostream &) const
write the decorrelation matrix to the stream
Definition
VariableDecorrTransform.cxx:272
TMVA::VariableDecorrTransform::AttachXMLTo
virtual void AttachXMLTo(void *parent)
node attachment to parent
Definition
VariableDecorrTransform.cxx:295
TMVA::VariableDecorrTransform::Transform
virtual const Event * Transform(const Event *const, Int_t cls) const
apply the decorrelation transformation
Definition
VariableDecorrTransform.cxx:167
TMVA::VariableDecorrTransform::ReadTransformationFromStream
void ReadTransformationFromStream(std::istream &, const TString &)
Read the decorellation matrix from an input stream.
Definition
VariableDecorrTransform.cxx:369
TMVA::VariableDecorrTransform::InverseTransform
virtual const Event * InverseTransform(const Event *const, Int_t cls) const
apply the inverse decorrelation transformation ... TODO : ... build the inverse transformation
Definition
VariableDecorrTransform.cxx:233
TMVA::VariableTransformBase
Linear interpolation class.
Definition
VariableTransformBase.h:54
TString
Basic string class.
Definition
TString.h:139
bool
int
unsigned int
TMVA
create variable transformations
Definition
GeneticMinimizer.h:22
tmva
tmva
inc
TMVA
VariableDecorrTransform.h
ROOT v6-32 - Reference Guide Generated on Mon Feb 17 2025 14:17:18 (GVA Time) using Doxygen 1.10.0