Definition at line 61 of file GiniIndexWithLaplace.h.
#include <TMVA/GiniIndexWithLaplace.h>
◆ GiniIndexWithLaplace() [1/2]
TMVA::GiniIndexWithLaplace::GiniIndexWithLaplace |
( |
| ) |
|
|
inline |
◆ GiniIndexWithLaplace() [2/2]
◆ ~GiniIndexWithLaplace()
virtual TMVA::GiniIndexWithLaplace::~GiniIndexWithLaplace |
( |
| ) |
|
|
inlinevirtual |
◆ GetSeparationIndex()
Gini(Sample M) = 1 - (c(1)/N)^2 - (c(2)/N)^2 ....
- (c(k)/N)^2 Where: M is a smaple of whatever N elements (events) that belong to K different classes c(k) is the number of elements that belong to class k Laplace's correction to the prob.density c/N –> (c+1)/(N+2) for just Signal and Background classes this then boils down to: Gini(Sample) = 2(s*b+s+b+1)/(s+b+2)^2
Implements TMVA::SeparationBase.
Definition at line 56 of file GiniIndexWithLaplace.cxx.
The documentation for this class was generated from the following files: