// @(#)root/tmva $Id: TMVA_GiniIndex.h,v 1.2 2006/05/08 20:56:16 brun Exp $ // Author: Andreas Hoecker, Helge Voss, Kai Voss /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : TMVA_GiniIndex * * * * Description: Implementation of the GiniIndex as separation criterion * * Large Gini Indices mean, that the sample is well mixed signal and * * bkg. Small Indices mean, well separated. Hence we want a minimal * * Gini_left + Gini_right, or a * * MAXIMAl Gini_parent-Gini_left-Gini_right * * * * * * Authors (alphabetical): * * Andreas Hoecker - CERN, Switzerland * * Xavier Prudent - LAPP, France * * Helge Voss - MPI-KP Heidelberg, Germany * * Kai Voss - U. of Victoria, Canada * * * * Copyright (c) 2005: * * CERN, Switzerland, * * U. of Victoria, Canada, * * Heidelberg U., Germany, * * LAPP, Annecy, France * * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted according to the terms listed in LICENSE * * (http://tmva.sourceforge.net/license.txt) * * * **********************************************************************************/ #ifndef ROOT_TMVA_GiniIndex #define ROOT_TMVA_GiniIndex ////////////////////////////////////////////////////////////////////////// // // // TMVA_GiniIndex // // // // Implementation of the GiniIndex as separation criterion // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TMVA_SeparationBase #include "TMVA_SeparationBase.h" #endif class TMVA_GiniIndex : public TMVA_SeparationBase { public: TMVA_GiniIndex() { fName="Gini"; } virtual ~TMVA_GiniIndex(){} protected: virtual Double_t GetSeparationIndex( const Double_t &s, const Double_t &b ); ClassDef(TMVA_GiniIndex,0) //Implementation of the GiniIndex as separation criterion }; #endif