56 if (s+b <= 0)
return 0;
57 if (s<=0 || b <=0)
return 0;
58 else return (s*b+s+b+1)/(s+b+2)/(s+b+2);
ClassImp(TMVA::GiniIndexWithLaplace) Double_t TMVA
Gini(Sample M) = 1 - (c(1)/N)^2 - (c(2)/N)^2 ....
Abstract ClassifierFactory template that handles arbitrary types.