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 () |
| const TString & | GetName () |
| 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. | |
| Double_t | GetSeparationIndex (const Double_t s, const Double_t b) override |
| Cross Entropy defined as: | |
| TClass * | IsA () const override |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Protected Attributes | |
| TString | fName |
| Double_t | fPrecisionCut |
#include <TMVA/CrossEntropy.h>
|
inline |
Definition at line 48 of file CrossEntropy.h.
|
inline |
Definition at line 51 of file CrossEntropy.h.
|
inlinevirtual |
Definition at line 54 of file CrossEntropy.h.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 61 of file CrossEntropy.h.
|
inlinestatic |
Definition at line 61 of file CrossEntropy.h.
|
inlineinherited |
Definition at line 104 of file SeparationBase.h.
|
virtualinherited |
Separation Gain: the measure of how the quality of separation of the sample increases by splitting the sample e.g.
into a "left-node" and a "right-node" (N * Index_parent) - (N_left * Index_left) - (N_right * Index_right) this is then the quality criterion which is optimized for when trying to increase the information in the system (making the best selection
Reimplemented in TMVA::SdivSqrtSplusB.
Definition at line 100 of file SeparationBase.cxx.
|
overridevirtual |
Cross Entropy defined as:
-p log (p) - (1-p)log(1-p); p=purity = s/(s+b)
Implements TMVA::SeparationBase.
Definition at line 46 of file CrossEntropy.cxx.
|
inlineoverridevirtual |
Reimplemented from TMVA::SeparationBase.
Definition at line 61 of file CrossEntropy.h.
|
overridevirtual |
Reimplemented from TMVA::SeparationBase.
|
inline |
Definition at line 61 of file CrossEntropy.h.
|
protectedinherited |
Definition at line 108 of file SeparationBase.h.
|
protectedinherited |
Definition at line 110 of file SeparationBase.h.