Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::CrossEntropy Class Reference

Implementation of the CrossEntropy as separation criterion.

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

Definition at line 43 of file CrossEntropy.h.

Public Member Functions

 CrossEntropy ()
 
 CrossEntropy (const CrossEntropy &g)
 
virtual ~CrossEntropy ()
 
virtual Double_t GetSeparationIndex (const Double_t s, const Double_t b)
 Cross Entropy defined as:
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TMVA::SeparationBase
 SeparationBase ()
 Constructor.
 
 SeparationBase (const SeparationBase &s)
 Copy constructor.
 
virtual ~SeparationBase ()
 
const TStringGetName ()
 
virtual Double_t GetSeparationGain (const Double_t nSelS, const Double_t nSelB, const Double_t nTotS, const Double_t nTotB)
 Separation Gain: the measure of how the quality of separation of the sample increases by splitting the sample e.g.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TMVA::SeparationBase
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Additional Inherited Members

- Protected Attributes inherited from TMVA::SeparationBase
TString fName
 
Double_t fPrecisionCut
 

#include <TMVA/CrossEntropy.h>

Inheritance diagram for TMVA::CrossEntropy:
[legend]

Constructor & Destructor Documentation

◆ CrossEntropy() [1/2]

TMVA::CrossEntropy::CrossEntropy ( )
inline

Definition at line 48 of file CrossEntropy.h.

◆ CrossEntropy() [2/2]

TMVA::CrossEntropy::CrossEntropy ( const CrossEntropy g)
inline

Definition at line 51 of file CrossEntropy.h.

◆ ~CrossEntropy()

virtual TMVA::CrossEntropy::~CrossEntropy ( )
inlinevirtual

Definition at line 54 of file CrossEntropy.h.

Member Function Documentation

◆ Class()

static TClass * TMVA::CrossEntropy::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TMVA::CrossEntropy::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TMVA::CrossEntropy::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 61 of file CrossEntropy.h.

◆ DeclFileName()

static const char * TMVA::CrossEntropy::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 61 of file CrossEntropy.h.

◆ GetSeparationIndex()

Double_t TMVA::CrossEntropy::GetSeparationIndex ( const Double_t  s,
const Double_t  b 
)
virtual

Cross Entropy defined as:

       -p log (p) - (1-p)log(1-p);     p=purity = s/(s+b) 

Implements TMVA::SeparationBase.

Definition at line 47 of file CrossEntropy.cxx.

◆ IsA()

virtual TClass * TMVA::CrossEntropy::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented from TMVA::SeparationBase.

Definition at line 61 of file CrossEntropy.h.

◆ Streamer()

virtual void TMVA::CrossEntropy::Streamer ( TBuffer )
virtual

Reimplemented from TMVA::SeparationBase.

◆ StreamerNVirtual()

void TMVA::CrossEntropy::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 61 of file CrossEntropy.h.

Libraries for TMVA::CrossEntropy:

The documentation for this class was generated from the following files: