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: | |
Public Member Functions inherited from TMVA::SeparationBase | |
SeparationBase () | |
Constructor. | |
SeparationBase (const SeparationBase &s) | |
Copy constructor. | |
virtual | ~SeparationBase () |
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. | |
Additional Inherited Members | |
Protected Attributes inherited from TMVA::SeparationBase | |
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.
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.