38 #ifndef ROOT_TMVA_MethodPDERS    39 #define ROOT_TMVA_MethodPDERS   207       void                  RRScalc           ( 
const Event&, std::vector<Float_t>* count );
   224 #endif // MethodPDERS_H void WriteWeightsToStream(TFile &rf) const
write training sample (TTree) to file 
void UpdateThis()
update static this pointer 
virtual ~MethodPDERS(void)
destructor 
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. 
std::vector< Float_t > * fShift
void GetHelpMessage() const
get help message text 
BinarySearchTree * fBinaryTree
Double_t NormSinc(Double_t x)
NormSinc. 
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void CreateBinarySearchTree(Types::ETreeType type)
create binary search trees for signal and background 
Virtual base Class for all MVA method. 
void AddWeightsXMLTo(void *parent) const
write weights to xml file 
Ranking for variables in method (implementation) 
void RKernelEstimate(const Event &, std::vector< const BinarySearchTreeNode *> &, Volume &, std::vector< Float_t > *pdfSum)
normalization factors so we can work with radius 1 hyperspheres 
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
init the size of a volume element using a defined fraction of the volume containing the entire events...
Node for the BinarySearch or Decision Trees. 
Volume for BinarySearchTree. 
void GetSample(const Event &e, std::vector< const BinarySearchTreeNode *> &events, Volume *volume)
void Init(void)
default initialisation routine called by all constructors 
static Double_t IGetVolumeContentForRoot(Double_t)
Interface to RootFinder. 
#define ClassDef(name, id)
void ReadWeightsFromStream(std::istream &istr)
read weight info from file 
Float_t GetError(Float_t countS, Float_t countB, Float_t sumW2S, Float_t sumW2B) const
statistical error estimate for RS estimator 
Class that contains all the data information. 
void CalcAverages()
compute also average RMS values required for adaptive Gaussian 
Double_t CRScalc(const Event &)
void DeclareOptions()
define the options (their key words) that can be set in the option string. 
void SetVolumeElement(void)
defines volume dimensions 
Bool_t fInitializedVolumeEle
BinarySearchTree * GetBinaryTree(void) const
void ReadWeightsFromXML(void *wghtnode)
static MethodPDERS * ThisPDERS(void)
static pointer to this object 
This is a generalization of the above Likelihood methods to  dimensions, where  is the number of inpu...
void Train(void)
this is a dummy training: the preparation work to do is the construction of the binary tree as a poin...
std::vector< Float_t > * fDelta
enum TMVA::MethodPDERS::EKernelEstimator fKernelEstimator
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
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. 
Double_t CKernelEstimate(const Event &, std::vector< const BinarySearchTreeNode *> &, Volume &)
normalization factors so we can work with radius 1 hyperspheres 
std::vector< Float_t > fAverageRMS
const std::vector< Float_t > & GetRegressionValues()
Abstract ClassifierFactory template that handles arbitrary types. 
enum TMVA::MethodPDERS::EVolumeRangeMode fVRangeMode
void ProcessOptions()
process the options specified by the user 
Double_t GetVolumeContentForRoot(Double_t)
count number of events in rescaled volume 
const Ranking * CreateRanking()
MethodPDERS(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption)
standard constructor for the PDERS method 
static MethodPDERS *& GetMethodPDERSThreadLocal()
Double_t ApplyKernelFunction(Double_t normalized_distance)
from the normalized euclidean distance calculate the distance for a certain kernel ...
A simple Binary search tree including a volume search method. 
Double_t LanczosFilter(Int_t level, Double_t x)
Lanczos Filter. 
void RRScalc(const Event &, std::vector< Float_t > *count)
Double_t KernelNormalization(Double_t pdf)
Calculating the normalization factor only once (might need a reset at some point. ...
void MakeClassSpecific(std::ostream &, const TString &) const
write specific classifier response