30 #ifndef ROOT_TMVA_DecisionTreeNode 31 #define ROOT_TMVA_DecisionTreeNode 96 fSampleMin(),fSampleMax(),
97 fNodeR(n.fNodeR), fSubTreeR(n.fSubTreeR),
98 fAlpha(n.fAlpha), fG(n.fG),
99 fNTerminal(n.fNTerminal),
100 fNB(n.fNB), fNS(n.fNS),
101 fSumTarget(0),fSumTarget2(0),
103 fNSigEvents ( n.fNSigEvents ), fNBkgEvents ( n.fNBkgEvents ),
104 fNEvents ( n.fNEvents ),
105 fNSigEvents_unweighted ( n.fNSigEvents_unweighted ),
106 fNBkgEvents_unweighted ( n.fNBkgEvents_unweighted ),
107 fNEvents_unweighted ( n.fNEvents_unweighted ),
108 fSeparationIndex( n.fSeparationIndex ),
109 fSeparationGain ( n.fSeparationGain )
169 void SetPurity(
void );
267 virtual void Print( std::ostream& os )
const;
270 virtual void PrintRec( std::ostream& os )
const;
272 virtual void AddAttributesToNode(
void* node)
const;
273 virtual void AddContentToNode(std::stringstream&
s)
const;
276 void ClearNodeAndAllDaughters();
333 void ResetValidationData( );
338 void PrintPrune( std::ostream& os )
const ;
339 void PrintRecPrune( std::ostream& os )
const;
354 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)
static constexpr double s
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)
ostringstream derivative to redirect and format output
void SetNBkgEvents_unboosted(Float_t b)
void SetNBkgEvents_unweighted(Float_t b)
void IncrementNBkgEvents_unweighted()
Abstract ClassifierFactory template that handles arbitrary types.
Node for the BinarySearch or Decision Trees.
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)