30 #ifndef ROOT_TMVA_DecisionTreeNode 31 #define ROOT_TMVA_DecisionTreeNode 41 #ifndef ROOT_TMVA_Node 45 #ifndef ROOT_TMVA_Version 100 fSampleMin(),fSampleMax(),
101 fNodeR(n.fNodeR), fSubTreeR(n.fSubTreeR),
102 fAlpha(n.fAlpha), fG(n.fG),
103 fNTerminal(n.fNTerminal),
104 fNB(n.fNB), fNS(n.fNS),
105 fSumTarget(0),fSumTarget2(0),
107 fNSigEvents ( n.fNSigEvents ), fNBkgEvents ( n.fNBkgEvents ),
108 fNEvents ( n.fNEvents ),
109 fNSigEvents_unweighted ( n.fNSigEvents_unweighted ),
110 fNBkgEvents_unweighted ( n.fNBkgEvents_unweighted ),
111 fNEvents_unweighted ( n.fNEvents_unweighted ),
112 fSeparationIndex( n.fSeparationIndex ),
113 fSeparationGain ( n.fSeparationGain )
173 void SetPurity(
void );
271 virtual void Print( std::ostream& os )
const;
274 virtual void PrintRec( std::ostream& os )
const;
276 virtual void AddAttributesToNode(
void* node)
const;
277 virtual void AddContentToNode(std::stringstream& s)
const;
280 void ClearNodeAndAllDaughters();
337 void ResetValidationData( );
342 void PrintPrune( std::ostream& os )
const ;
343 void PrintRecPrune( std::ostream& os )
const;
379 virtual void ReadContent(std::stringstream& s);
Float_t GetRMS(void) const
void SetNTerminal(Int_t n)
DTNodeTrainingInfo * fTrainInfo
flag to set node as terminal (i.e., without deleting its descendants)
void SetSelector(Short_t i)
#define TMVA_VERSION_CODE
Float_t GetNEvents(void) const
Float_t fNEvents_unweighted
Float_t GetSumTarget() const
Float_t GetNBkgEvents_unweighted(void) const
Float_t fNBkgEvents_unboosted
std::vector< Float_t > fSampleMax
virtual DecisionTreeNode * GetParent() const
void IncrementNEvents_unweighted()
Float_t GetSumTarget2() const
void IncrementNEvents(Float_t nev)
Bool_t IsTerminal() const
virtual void SetRight(Node *r)
Bool_t GetCutType(void) const
Float_t GetNSigEvents(void) const
std::vector< Float_t > fSampleMin
Float_t GetNEvents_unboosted(void) const
void SetNSigEvents_unweighted(Float_t s)
Float_t fNEvents_unboosted
void SetResponse(Float_t r)
void SetNBValidation(Double_t b)
void SetNFisherCoeff(Int_t nvars)
Double_t GetSubTreeR() const
Float_t GetSeparationIndex(void) const
#define ClassDef(name, id)
Float_t GetNBkgEvents(void) const
Float_t GetCutValue(void) const
void IncrementNBkgEvents(Float_t b)
Double_t GetNodeR() const
UInt_t GetNFisherCoeff() const
Float_t fNSigEvents_unweighted
void SetSeparationGain(Float_t sep)
void SetNodeR(Double_t r)
void SetNBkgEvents(Float_t b)
void SetNSValidation(Double_t s)
void AddToSumTarget(Float_t t)
Float_t fNSigEvents_unboosted
void SetNEvents(Float_t nev)
void SetSumTarget2(Float_t t2)
Float_t GetNSigEvents_unweighted(void) const
Int_t GetNodeType(void) const
void SetSubTreeR(Double_t r)
DTNodeTrainingInfo(const DTNodeTrainingInfo &n)
virtual void SetLeft(Node *l)
void SetAlpha(Double_t alpha)
Double_t GetFisherCoeff(Int_t ivar) const
void SetCutValue(Float_t c)
Float_t GetNBkgEvents_unboosted(void) const
Float_t fNBkgEvents_unweighted
void SetCutType(Bool_t t)
void IncrementNSigEvents_unweighted()
void SetSumTarget(Float_t t)
virtual void SetParent(Node *p)
Double_t GetAlphaMinSubtree() const
void AddToSumTarget2(Float_t t2)
Float_t GetPurity(void) const
static UInt_t fgTmva_Version_Code
void Print(std::ostream &os, const OptionType &opt)
Double_t GetNBValidation() const
void IncrementNSigEvents(Float_t s)
void SetNodeType(Int_t t)
void SetAlphaMinSubtree(Double_t g)
void SetNEvents_unboosted(Float_t nev)
void SetNSigEvents_unboosted(Float_t s)
Float_t GetNSigEvents_unboosted(void) const
void SetTerminal(Bool_t s=kTRUE)
Float_t GetNEvents_unweighted(void) const
void SetNSigEvents(Float_t s)
void SetNBkgEvents_unboosted(Float_t b)
void SetNBkgEvents_unweighted(Float_t b)
void IncrementNBkgEvents_unweighted()
Abstract ClassifierFactory template that handles arbitrary types.
Float_t GetResponse(void) const
Double_t GetNSValidation() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual DecisionTreeNode * GetLeft() const
virtual Node * CreateNode() const
virtual DecisionTreeNode * GetRight() const
std::vector< Double_t > fFisherCoeff
void SetSeparationIndex(Float_t sep)
Double_t GetAlpha() const
Short_t GetSelector() const
Int_t GetNTerminal() const
Float_t GetSeparationGain(void) const
void SetNEvents_unweighted(Float_t nev)