Logo ROOT   6.12/07
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
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, kPyRandomForest, kPyAdaBoost,
  kPyGTB, kPyKeras, kC50, kRSNNS,
  kRSVM, kRXGB, 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

enum TMVA::Types::EAnalysisType
Enumerator
kClassification 
kRegression 
kMulticlass 
kNoAnalysisType 
kMaxAnalysisType 

Definition at line 125 of file Types.h.

◆ EBoostStage

enum TMVA::Types::EBoostStage
Enumerator
kBoostProcBegin 
kBeforeTraining 
kBeforeBoosting 
kAfterBoosting 
kBoostProcEnd 

Definition at line 149 of file Types.h.

◆ EMVA

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

Definition at line 78 of file Types.h.

◆ ESBType

enum TMVA::Types::ESBType
Enumerator
kSignal 
kBackground 
kSBBoth 
kMaxSBType 
kTrueType 

Definition at line 133 of file Types.h.

◆ ETreeType

enum TMVA::Types::ETreeType
Enumerator
kTraining 
kTesting 
kMaxTreeType 
kValidation 
kTrainingOriginal 

Definition at line 141 of file Types.h.

◆ EVariableTransform

enum TMVA::Types::EVariableTransform
Enumerator
kIdentity 
kDecorrelated 
kNormalized 
kPCA 
kRearranged 
kGauss 
kUniform 
kMaxVariableTransform 

Definition at line 113 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 181 of file Types.h.

Member Data Documentation

◆ fgTypesPtr

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

Definition at line 174 of file Types.h.

◆ fLogger

MsgLogger* TMVA::Types::fLogger
mutableprivate

Definition at line 180 of file Types.h.

◆ fStr2type

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

Definition at line 179 of file Types.h.

Libraries for TMVA::Types:
[legend]

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