library: libTMVA
#include "TMVA_GiniIndex.h"

TMVA_GiniIndex


class description - 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:
TMVA_GiniIndex() TMVA_GiniIndex(const TMVA_GiniIndex&) virtual ~TMVA_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 )
 2 * p * (1-p), with p=s/(s+b)  (s: correct selected events, b: wrong selected events)
  return 2 * s/(s+b) * ( 1 - s/(s+b)) ,  which can be simplified to:



Inline Functions


                   void ~TMVA_GiniIndex()
         TMVA_GiniIndex TMVA_GiniIndex()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         TMVA_GiniIndex TMVA_GiniIndex(const TMVA_GiniIndex&)
        TMVA_GiniIndex& operator=(const TMVA_GiniIndex&)


Author: Andreas Hoecker, Helge Voss, Kai Voss
Last update: root/tmva $Id: TMVA_GiniIndex.cxx,v 1.1 2006/05/08 12:46:31 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.