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);
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 GetSumTarget() const
Float_t fNEvents_unweighted
Float_t GetNBkgEvents_unboosted(void) const
UInt_t GetNFisherCoeff() const
Float_t fNBkgEvents_unboosted
std::vector< Float_t > fSampleMax
Double_t GetAlpha() const
virtual DecisionTreeNode * GetRight() const
Float_t GetRMS(void) const
void IncrementNEvents_unweighted()
void IncrementNEvents(Float_t nev)
Int_t GetNodeType(void) const
Float_t GetNEvents_unboosted(void) const
virtual void SetRight(Node *r)
virtual DecisionTreeNode * GetLeft() const
std::vector< Float_t > fSampleMin
virtual DecisionTreeNode * GetParent() 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)
#define ClassDef(name, id)
Double_t GetNSValidation() const
void IncrementNBkgEvents(Float_t b)
Float_t GetPurity(void) const
Bool_t GetCutType(void) const
Float_t fNSigEvents_unweighted
void SetSeparationGain(Float_t sep)
void SetNodeR(Double_t r)
virtual Node * CreateNode() const
void SetNBkgEvents(Float_t b)
void SetNSValidation(Double_t s)
void AddToSumTarget(Float_t t)
Double_t GetSubTreeR() const
Float_t fNSigEvents_unboosted
Double_t GetAlphaMinSubtree() const
void SetNEvents(Float_t nev)
void SetSumTarget2(Float_t t2)
Float_t GetNBkgEvents(void) const
void SetSubTreeR(Double_t r)
DTNodeTrainingInfo(const DTNodeTrainingInfo &n)
Int_t GetNTerminal() const
Double_t GetNBValidation() const
virtual void SetLeft(Node *l)
void SetAlpha(Double_t alpha)
Double_t GetFisherCoeff(Int_t ivar) const
void SetCutValue(Float_t c)
Float_t GetNEvents(void) const
Float_t fNBkgEvents_unweighted
void SetCutType(Bool_t t)
void IncrementNSigEvents_unweighted()
void SetSumTarget(Float_t t)
Float_t GetNSigEvents_unboosted(void) const
virtual void SetParent(Node *p)
Bool_t IsTerminal() const
void AddToSumTarget2(Float_t t2)
static UInt_t fgTmva_Version_Code
void Print(std::ostream &os, const OptionType &opt)
Double_t GetNodeR() const
void IncrementNSigEvents(Float_t s)
Float_t GetSumTarget2() const
void SetNodeType(Int_t t)
void SetAlphaMinSubtree(Double_t g)
void SetNEvents_unboosted(Float_t nev)
void SetNSigEvents_unboosted(Float_t s)
void SetTerminal(Bool_t s=kTRUE)
void SetNSigEvents(Float_t s)
void SetNBkgEvents_unboosted(Float_t b)
Short_t GetSelector() const
void SetNBkgEvents_unweighted(Float_t b)
void IncrementNBkgEvents_unweighted()
Abstract ClassifierFactory template that handles arbitrary types.
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
Float_t GetSeparationGain(void) const
Float_t GetSeparationIndex(void) const
Float_t GetNSigEvents(void) const
std::vector< Double_t > fFisherCoeff
Float_t GetNBkgEvents_unweighted(void) const
void SetSeparationIndex(Float_t sep)
Float_t GetNSigEvents_unweighted(void) const
Float_t GetResponse(void) const
Float_t GetNEvents_unweighted(void) const
void SetNEvents_unweighted(Float_t nev)
Float_t GetCutValue(void) const