61 if ( (nTotS-nSelS)==nSelS && (nTotB-nSelB)==nSelB)
return 0.;
65 Double_t leftIndex = ( ((nTotS - nSelS) + (nTotB - nSelB))
70 Double_t diff = (parentIndex - leftIndex - rightIndex)/(nTotS+nTotB);
Implementation of the SdivSqrtSplusB as separation criterion.
virtual Double_t GetSeparationIndex(const Double_t s, const Double_t b)
Index = S/sqrt(S+B) (statistical significance)
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...
Abstract ClassifierFactory template that handles arbitrary types.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Double_t Sqrt(Double_t x)