104 if ( (nTotS-nSelS)==nSelS && (nTotB-nSelB)==nSelB)
return 0.;
115 Double_t leftIndex = ( ((nTotS - nSelS) + (nTotB - nSelB))/(nTotS+nTotB)
119 Double_t diff = parentIndex - leftIndex - rightIndex;
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 th...
SeparationBase()
Constructor.
Double_t Sqrt(Double_t x)
An interface to calculate the "SeparationGain" for different separation criteria used in various trai...
virtual Double_t GetSeparationIndex(const Double_t s, const Double_t b)=0
static constexpr double s