38#ifndef ROOT_TMVA_MethodPDERS 
   39#define ROOT_TMVA_MethodPDERS 
  209      void                  RRScalc           ( 
const Event&, std::vector<Float_t>* count );
 
 
#define ClassDef(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
Node for the BinarySearch or Decision Trees.
 
A simple Binary search tree including a volume search method.
 
Class that contains all the data information.
 
Virtual base Class for all MVA method.
 
This is a generalization of the above Likelihood methods to  dimensions, where  is the number of inpu...
 
void WriteWeightsToStream(TFile &rf) const
write training sample (TTree) to file
 
static MethodPDERS *& GetMethodPDERSThreadLocal()
 
void CreateBinarySearchTree(Types::ETreeType type)
create binary search trees for signal and background
 
BinarySearchTree * fBinaryTree
binary tree
 
std::vector< Float_t > * fDelta
size of volume
 
virtual ~MethodPDERS(void)
destructor
 
Int_t fkNNMin
min number of events in kNN tree
 
Bool_t fInitializedVolumeEle
is volume element initialized ?
 
MethodPDERS(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption)
standard constructor for the PDERS method
 
Float_t fDeltaFrac
fraction of RMS
 
void GetSample(const Event &e, std::vector< const BinarySearchTreeNode * > &events, Volume *volume)
 
Double_t fMax_distance
maximum distance
 
Double_t fGaussSigma
size of Gauss in adaptive volume
 
@ kSinc3
the sinc enumerators must be consecutive and in order!
 
Float_t GetError(Float_t countS, Float_t countB, Float_t sumW2S, Float_t sumW2B) const
statistical error estimate for RS estimator
 
BinarySearchTree * GetBinaryTree(void) const
 
static MethodPDERS * ThisPDERS(void)
static pointer to this object
 
Double_t KernelNormalization(Double_t pdf)
Calculating the normalization factor only once (might need a reset at some point.
 
std::vector< Float_t > fAverageRMS
average RMS of signal and background
 
Int_t fkNNMax
max number of events in kNN tree
 
Float_t fNEventsMax
maximum number of events in adaptive volume
 
void ReadWeightsFromXML(void *wghtnode)
 
Float_t fScaleS
weight for signal events
 
void ProcessOptions()
process the options specified by the user
 
Float_t fInitialScale
initial scale for adaptive volume
 
void RRScalc(const Event &, std::vector< Float_t > *count)
 
void GetHelpMessage() const
get help message text
 
void UpdateThis()
update static this pointer
 
void Train(void)
this is a dummy training: the preparation work to do is the construction of the binary tree as a poin...
 
void MakeClassSpecific(std::ostream &, const TString &) const
write specific classifier response
 
Double_t CRScalc(const Event &)
 
void DeclareOptions()
define the options (their key words) that can be set in the option string.
 
const Ranking * CreateRanking()
 
Float_t fScaleB
weight for background events
 
Double_t GetMvaValue(Double_t *err=nullptr, Double_t *errUpper=nullptr)
init the size of a volume element using a defined fraction of the volume containing the entire events
 
Double_t fGaussSigmaNorm
size of Gauss in adaptive volume (normalised to dimensions)
 
std::vector< Float_t > * fShift
volume center
 
void CalcAverages()
compute also average RMS values required for adaptive Gaussian
 
enum TMVA::MethodPDERS::EVolumeRangeMode fVRangeMode
 
void RKernelEstimate(const Event &, std::vector< const BinarySearchTreeNode * > &, Volume &, std::vector< Float_t > *pdfSum)
normalization factors so we can work with radius 1 hyperspheres
 
void ReadWeightsFromStream(std::istream &istr)
read weight info from file
 
enum TMVA::MethodPDERS::EKernelEstimator fKernelEstimator
 
const std::vector< Float_t > & GetRegressionValues()
 
Double_t NormSinc(Double_t x)
NormSinc.
 
virtual Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
PDERS can handle classification with 2 classes and regression with one or more regression-targets.
 
void AddWeightsXMLTo(void *parent) const
write weights to xml file
 
void SetVolumeElement(void)
defines volume dimensions
 
void Init(void)
default initialisation routine called by all constructors
 
Double_t LanczosFilter(Int_t level, Double_t x)
Lanczos Filter.
 
Double_t CKernelEstimate(const Event &, std::vector< const BinarySearchTreeNode * > &, Volume &)
normalization factors so we can work with radius 1 hyperspheres
 
Float_t fMaxVIterations
maximum number of iterations to adapt volume size
 
Double_t ApplyKernelFunction(Double_t normalized_distance)
from the normalized euclidean distance calculate the distance for a certain kernel
 
Bool_t fNormTree
binary-search tree is normalised
 
Double_t GetNormalizedDistance(const TMVA::Event &base_event, const BinarySearchTreeNode &sample_event, Double_t *dim_normalization)
We use Euclidian metric here. Might not be best or most efficient.
 
static Double_t IGetVolumeContentForRoot(Double_t)
Interface to RootFinder.
 
Float_t fNEventsMin
minimum number of events in adaptive volume
 
Double_t GetVolumeContentForRoot(Double_t)
count number of events in rescaled volume
 
Ranking for variables in method (implementation)
 
Volume for BinarySearchTree.
 
create variable transformations