class TMVA::GiniIndex: public TMVA::SeparationBase


 GiniIndex

 Implementation of the GiniIndex as separation criterion for the
 boosted decision tree


Function Members (Methods)

public:
virtual~GiniIndex()
static TClass*Class()
TStringTMVA::SeparationBase::GetName()
Double_tTMVA::SeparationBase::GetSeparationGain(const Double_t& nSelS, const Double_t& nSelB, const Double_t& nTotS, const Double_t& nTotB)
virtual Double_tGetSeparationIndex(const Double_t& s, const Double_t& b)
TMVA::GiniIndexGiniIndex()
TMVA::GiniIndexGiniIndex(const TMVA::GiniIndex& g)
virtual TClass*IsA() const
TMVA::GiniIndex&operator=(const TMVA::GiniIndex&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
TStringTMVA::SeparationBase::fNamename of the concrete Separation Index impementation

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Double_t GetSeparationIndex(const Double_t& s, const Double_t& b)
     Gini(Sample M) = 1 - (c(1)/N)^2 - (c(2)/N)^2 .... - (c(k)/N)^2
     Where: M is a smaple of whatever N elements (events)
            that belong to K different classes
            c(k) is the number of elements that belong to class k
     for just Signal and Background classes this boils down to:
     Gini(Sample) = 2s*b/(s+b)^2    ( = 2 * purity * (1-purity) )
GiniIndex(const TMVA::GiniIndex& g)
 construtor for the GiniIndex
{ fName="Gini"; }
GiniIndex(const TMVA::GiniIndex& g)
 copy constructor
{}
virtual ~GiniIndex()
destructor
{}

Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
Last change: root/tmva $Id: GiniIndex.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:48
Copyright (c) 2005: *

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.