31 #ifndef ROOT_TMVA_MethodCategory
32 #define ROOT_TMVA_MethodCategory
45 #ifndef ROOT_TMVA_MethodBase
49 #ifndef ROOT_TMVA_MethodCompositeBase
std::vector< IMethod * > fMethods
void Init()
initialize the method
TMVA::IMethod * AddMethod(const TCut &, const TString &theVariables, Types::EMVA theMethod, const TString &theTitle, const TString &theOptions)
adds sub-classifier for a category
void AddWeightsXMLTo(void *parent) const
create XML description of Category classifier
void InitCircularTree(const DataSetInfo &dsi)
initialize the circular tree
std::vector< TCut > fCategoryCuts
std::vector< UInt_t > fCategorySpecIdx
virtual ~MethodCategory(void)
destructor
void GetHelpMessage() const
Get help message text.
std::vector< std::vector< UInt_t > > fVarMaps
#define ClassDef(name, id)
void DeclareOptions()
options for this method
MethodCategory(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="", TDirectory *theTargetDir=NULL)
A specialized string object used for TTree selections.
std::vector< TTreeFormula * > fCatFormulas
needed in conjunction with TTreeFormulas for evaluation category expressions
const Ranking * CreateRanking()
no ranking
TMVA::DataSetInfo & CreateCategoryDSI(const TCut &, const TString &, const TString &)
create a DataSetInfo object for a sub-classifier
DataSetManager * fDataSetManager
void Train(void)
train all sub-classifiers
Describe directory structure in memory.
virtual Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t)
check whether method category has analysis type the method type has to be the same for all sub-method...
std::vector< TString > fVars
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
returns the mva value of the right sub-classifier
A TTree object has a header with a name and a title.
void ReadWeightsFromXML(void *wghtnode)
read weights of sub-classifiers of MethodCategory from xml weight file
Bool_t PassesCut(const Event *ev, UInt_t methodIdx)
virtual const std::vector< Float_t > & GetRegressionValues()
returns the mva value of the right sub-classifier
virtual void MakeClass(const TString &=TString("")) const
create reader class for method (classification only at present)
void ProcessOptions()
process user options