60 if ( (nTotS-nSelS)==nSelS && (nTotB-nSelB)==nSelB)
return 0.;
62 Double_t parentIndex = (nTotS+nTotB) *this->GetSeparationIndex(nTotS,nTotB);
64 Double_t leftIndex = ( ((nTotS - nSelS) + (nTotB - nSelB))
65 * this->GetSeparationIndex(nTotS-nSelS,nTotB-nSelB) );
66 Double_t rightIndex = (nSelS+nSelB) * this->GetSeparationIndex(nSelS,nSelB);
69 Double_t diff = (parentIndex - leftIndex - rightIndex)/(nTotS+nTotB);
71 if(diff<fPrecisionCut ) {
Double_t GetSeparationGain(const Double_t nSelS, const Double_t nSelB, const Double_t nTotS, const Double_t nTotB) override
Separation Gain: the measure of how the quality of separation of the sample increases by splitting th...