library: libTMVA #include "DecisionTreeNode.h" |
TMVA::DecisionTreeNode
class description - header file - source file
viewCVS header - viewCVS source
class TMVA::DecisionTreeNode: public TMVA::Node
Function Members (Methods)
Display options:
Data Members
private:
Double_t | fCutValue | cut value appplied on this node to discriminate bkg against sig |
Bool_t | fCutType | true: if event variable > cutValue ==> signal , false otherwise |
Short_t | fSelector | index of variable used in node selection (decision tree) |
Double_t | fNSigEvents | sum of weights of signal event in the node |
Double_t | fNBkgEvents | sum of weights of backgr event in the node |
Double_t | fNEvents | number of events in that entered the node (during training) |
Double_t | fSeparationIndex | measure of "purity" (separation between S and B) AT this node |
Double_t | fSeparationGain | measure of "purity", separation, or information gained BY this nodes selection |
Int_t | fNodeType | Type of node: -1 == Bkg-leaf, 1 == Signal-leaf, 0 = internal |
ULong_t | fSequence | bit coded left right sequence to reach the node |
Node for the Decision Tree
The node specifies ONE variable out of the given set of selection variable
that is used to split the sample which "arrives" at the node, into a left
(background-enhanced) and a right (signal-enhanced) sample.
_______________________________________________________________________
Double_t GetPurity( void )
return the purity of the node. that means S/(S+B) for signal nodes
and B/(S+B) for nodes classified as background
void PrintRec(ostream& os)
recursively print the node and its daughters (--> print the 'tree')
void SetSelector( const Short_t i)
set index of variable used for discrimination at this node
return index of variable used for discrimination at this node
void SetNodeType( Int_t t )
set node type: 1 signal node, -1 bkg leave, 0 intermediate Node
return node type: 1 signal node, -1 bkg leave, 0 intermediate Node
void SetNEvents( Double_t nev )
set the number of events that entered the node (during training)
Double_t GetNEvents( void )
return the number of events that entered the node (during training)
void SetSeparationIndex( Double_t sep )
set the choosen index, measure of "purity" (separation between S and B) AT this node
return the separation index AT this node
void SetSeparationGain( Double_t sep )
set the separation, or information gained BY this nodes selection
return the gain in separation obtained by this nodes selection
Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
Last update: root/tmva $Id: DecisionTreeNode.cxx,v 1.11 2006/11/20 15:35:28 brun Exp $
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.