library: libTMVA
#include "GiniIndex.h"

TMVA::GiniIndex


class description - header file - source file - inheritance tree (.pdf)

class TMVA::GiniIndex : public TMVA::SeparationBase

Inheritance Chart:
TMVA::SeparationBase
<-
TMVA::GiniIndex
    protected:
virtual Double_t GetSeparationIndex(const Double_t& s, const Double_t& b) public:
GiniIndex() GiniIndex(const TMVA::GiniIndex&) virtual ~GiniIndex() static TClass* Class() virtual TClass* IsA() const TMVA::GiniIndex& operator=(const TMVA::GiniIndex&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

_______________________________________________________________________

 Implementation of the GiniIndex as separation criterion

_______________________________________________________________________
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()
 construtor for the GiniIndex
virtual ~GiniIndex()
destructor

Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
Last update: root/tmva $Id: GiniIndex.cxx,v 1.3 2006/05/23 19:35:06 brun Exp $
Copyright (c) 2005: *


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.