Logo ROOT  
Reference Guide
TMVA::Types Class Reference

Singleton class for Global types used by TMVA.

Definition at line 73 of file Types.h.

Public Types

enum  EAnalysisType {
  kClassification = 0 , kRegression , kMulticlass , kNoAnalysisType ,
  kMaxAnalysisType
}
 
enum  EBoostStage {
  kBoostProcBegin =0 , kBeforeTraining , kBeforeBoosting , kAfterBoosting ,
  kBoostProcEnd
}
 
enum  EMVA {
  kVariable = 0 , kCuts , kLikelihood , kPDERS ,
  kHMatrix , kFisher , kKNN , kCFMlpANN ,
  kTMlpANN , kBDT , kDT , kRuleFit ,
  kSVM , kMLP , kBayesClassifier , kFDA ,
  kBoost , kPDEFoam , kLD , kPlugins ,
  kCategory , kDNN , kDL , kPyRandomForest ,
  kPyAdaBoost , kPyGTB , kPyKeras , kC50 ,
  kRSNNS , kRSVM , kRXGB , kCrossValidation ,
  kMaxMethod
}
 
enum  ESBType {
  kSignal = 0 , kBackground , kSBBoth , kMaxSBType ,
  kTrueType
}
 
enum  ETreeType {
  kTraining = 0 , kTesting , kMaxTreeType , kValidation ,
  kTrainingOriginal
}
 
enum  EVariableTransform {
  kIdentity = 0 , kDecorrelated , kNormalized , kPCA ,
  kRearranged , kGauss , kUniform , kMaxVariableTransform
}
 

Public Member Functions

 ~Types ()
 
Bool_t AddTypeMapping (Types::EMVA method, const TString &methodname)
 
TString GetMethodName (Types::EMVA method) const
 
Types::EMVA GetMethodType (const TString &method) const
 returns the method type (enum) for a given method (string) More...
 

Static Public Member Functions

static void DestroyInstance ()
 "destructor" of the single instance More...
 
static TypesInstance ()
 the the single instance of "Types" if existing already, or create it (Singleton) More...
 

Private Member Functions

 Types ()
 constructor More...
 
MsgLoggerLog () const
 

Private Attributes

MsgLoggerfLogger
 
std::map< TString, TMVA::Types::EMVAfStr2type
 

Static Private Attributes

static TypesfgTypesPtr = 0
 

#include <TMVA/Types.h>

Member Enumeration Documentation

◆ EAnalysisType

Enumerator
kClassification 
kRegression 
kMulticlass 
kNoAnalysisType 
kMaxAnalysisType 

Definition at line 127 of file Types.h.

◆ EBoostStage

Enumerator
kBoostProcBegin 
kBeforeTraining 
kBeforeBoosting 
kAfterBoosting 
kBoostProcEnd 

Definition at line 151 of file Types.h.

◆ EMVA

Enumerator
kVariable 
kCuts 
kLikelihood 
kPDERS 
kHMatrix 
kFisher 
kKNN 
kCFMlpANN 
kTMlpANN 
kBDT 
kDT 
kRuleFit 
kSVM 
kMLP 
kBayesClassifier 
kFDA 
kBoost 
kPDEFoam 
kLD 
kPlugins 
kCategory 
kDNN 
kDL 
kPyRandomForest 
kPyAdaBoost 
kPyGTB 
kPyKeras 
kC50 
kRSNNS 
kRSVM 
kRXGB 
kCrossValidation 
kMaxMethod 

Definition at line 78 of file Types.h.

◆ ESBType

Enumerator
kSignal 
kBackground 
kSBBoth 
kMaxSBType 
kTrueType 

Definition at line 135 of file Types.h.

◆ ETreeType

Enumerator
kTraining 
kTesting 
kMaxTreeType 
kValidation 
kTrainingOriginal 

Definition at line 143 of file Types.h.

◆ EVariableTransform

Enumerator
kIdentity 
kDecorrelated 
kNormalized 
kPCA 
kRearranged 
kGauss 
kUniform 
kMaxVariableTransform 

Definition at line 115 of file Types.h.

Constructor & Destructor Documentation

◆ ~Types()

TMVA::Types::~Types ( )

Definition at line 61 of file Types.cxx.

◆ Types()

TMVA::Types::Types ( )
private

constructor

Definition at line 56 of file Types.cxx.

Member Function Documentation

◆ AddTypeMapping()

Bool_t TMVA::Types::AddTypeMapping ( Types::EMVA  method,
const TString methodname 
)

Definition at line 101 of file Types.cxx.

◆ DestroyInstance()

void TMVA::Types::DestroyInstance ( )
static

"destructor" of the single instance

Definition at line 90 of file Types.cxx.

◆ GetMethodName()

TString TMVA::Types::GetMethodName ( Types::EMVA  method) const

Definition at line 136 of file Types.cxx.

◆ GetMethodType()

TMVA::Types::EMVA TMVA::Types::GetMethodType ( const TString method) const

returns the method type (enum) for a given method (string)

Definition at line 121 of file Types.cxx.

◆ Instance()

TMVA::Types & TMVA::Types::Instance ( )
static

the the single instance of "Types" if existing already, or create it (Singleton)

Definition at line 70 of file Types.cxx.

◆ Log()

MsgLogger & TMVA::Types::Log ( ) const
inlineprivate

Definition at line 183 of file Types.h.

Member Data Documentation

◆ fgTypesPtr

TMVA::Types * TMVA::Types::fgTypesPtr = 0
staticprivate

Definition at line 176 of file Types.h.

◆ fLogger

MsgLogger* TMVA::Types::fLogger
mutableprivate

Definition at line 182 of file Types.h.

◆ fStr2type

std::map<TString, TMVA::Types::EMVA> TMVA::Types::fStr2type
private

Definition at line 181 of file Types.h.

Libraries for TMVA::Types:
[legend]

The documentation for this class was generated from the following files: