class TMVA::CrossEntropy: public TMVA::SeparationBase


 Implementation of the CrossEntropy as separation criterion


-p log(p) - (1-p) log(1-p)   p=purity

Function Members (Methods)

public:
virtual~CrossEntropy()
static TClass*Class()
TMVA::CrossEntropyCrossEntropy()
TMVA::CrossEntropyCrossEntropy(const TMVA::CrossEntropy& g)
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)
virtual TClass*IsA() const
TMVA::CrossEntropy&operator=(const TMVA::CrossEntropy&)
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)
  Cross Entropy defined as
  -p log (p) - (1-p)log(1-p);     p=purity = s/(s+b)
CrossEntropy(const TMVA::CrossEntropy& g)
 default constructor
{ fName = "CE"; }
CrossEntropy(const TMVA::CrossEntropy& g)
 copy constructor
{}
virtual ~CrossEntropy()
 destructor
{}

Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
Last change: root/tmva $Id: CrossEntropy.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.