Logo ROOT   6.10/09
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::TActivationChooser Class Reference

Class for easily choosing activation functions.

Definition at line 44 of file TActivationChooser.h.

Public Types

enum  EActivationType {
  kLinear = 0, kSigmoid, kTanh, kReLU,
  kRadial
}
 

Public Member Functions

 TActivationChooser ()
 Default constructor. More...
 
virtual ~TActivationChooser ()
 Destructor. More...
 
TActivationCreateActivation (EActivationType type) const
 instantiate the correct activation object according to the type chosen (given as the enumeration type) More...
 
TActivationCreateActivation (const TString &type) const
 instantiate the correct activation object according to the type chosen (given by a TString) More...
 
std::vector< TString > * GetAllActivationNames () const
 returns the names of all know activation functions More...
 

Private Member Functions

MsgLoggerLog () const
 message logger More...
 

Private Attributes

TString fLINEAR
 
MsgLoggerfLogger
 
TString fRADIAL
 
TString fRELU
 
TString fSIGMOID
 
TString fTANH
 

#include <TMVA/TActivationChooser.h>

Member Enumeration Documentation

◆ EActivationType

enum TMVA::TActivationChooser::EActivationType
Enumerator
kLinear 
kSigmoid 
kTanh 
kReLU 
kRadial 

Definition at line 47 of file TActivationChooser.h.

Constructor & Destructor Documentation

◆ TActivationChooser()

TMVA::TActivationChooser::TActivationChooser ( )

Default constructor.

Definition at line 47 of file TActivationChooser.cxx.

◆ ~TActivationChooser()

TMVA::TActivationChooser::~TActivationChooser ( )
virtual

Destructor.

Definition at line 60 of file TActivationChooser.cxx.

Member Function Documentation

◆ CreateActivation() [1/2]

TMVA::TActivation * TMVA::TActivationChooser::CreateActivation ( EActivationType  type) const

instantiate the correct activation object according to the type chosen (given as the enumeration type)

Definition at line 70 of file TActivationChooser.cxx.

◆ CreateActivation() [2/2]

TMVA::TActivation * TMVA::TActivationChooser::CreateActivation ( const TString type) const

instantiate the correct activation object according to the type chosen (given by a TString)

Definition at line 90 of file TActivationChooser.cxx.

◆ GetAllActivationNames()

std::vector< TString > * TMVA::TActivationChooser::GetAllActivationNames ( ) const

returns the names of all know activation functions

Definition at line 107 of file TActivationChooser.cxx.

◆ Log()

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

message logger

Definition at line 70 of file TActivationChooser.h.

Member Data Documentation

◆ fLINEAR

TString TMVA::TActivationChooser::fLINEAR
private

Definition at line 63 of file TActivationChooser.h.

◆ fLogger

MsgLogger* TMVA::TActivationChooser::fLogger
mutableprivate

Definition at line 69 of file TActivationChooser.h.

◆ fRADIAL

TString TMVA::TActivationChooser::fRADIAL
private

Definition at line 67 of file TActivationChooser.h.

◆ fRELU

TString TMVA::TActivationChooser::fRELU
private

Definition at line 66 of file TActivationChooser.h.

◆ fSIGMOID

TString TMVA::TActivationChooser::fSIGMOID
private

Definition at line 64 of file TActivationChooser.h.

◆ fTANH

TString TMVA::TActivationChooser::fTANH
private

Definition at line 65 of file TActivationChooser.h.


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