76 if ( nTot==nLeft || nLeft==0 )
return 0.;
78 Double_t parentIndex = nTot * this->GetSeparationIndex(nTot,targetTot,target2Tot);
79 Double_t leftIndex = ( (nTot - nLeft) * this->GetSeparationIndex(nTot-nLeft,targetTot-targetLeft,target2Tot-target2Left) );
80 Double_t rightIndex = nLeft * this->GetSeparationIndex(nLeft,targetLeft,target2Left);
83 return (parentIndex - leftIndex - rightIndex)/(parentIndex);
93 return ( target2 - target*target/n) /
n;
Calculate the "SeparationGain" for Regression analysis separation criteria used in various training a...
virtual Double_t GetSeparationIndex(const Double_t n, const Double_t target, const Double_t target2)
Separation Index: a simple Variance.
Abstract ClassifierFactory template that handles arbitrary types.