53 fLogger( new
MsgLogger(
"TActivationChooser") )
79 Log() << kFATAL <<
"no Activation function of type " <<
type <<
" found" <<
Endl;
92 if (
type == fLINEAR)
return CreateActivation(kLinear);
93 else if (
type == fSIGMOID)
return CreateActivation(
kSigmoid);
94 else if (
type == fTANH)
return CreateActivation(
kTanh);
95 else if (
type == fRELU)
return CreateActivation(kReLU);
96 else if (
type == fRADIAL)
return CreateActivation(kRadial);
98 Log() << kFATAL <<
"no Activation function of type " <<
type <<
" found" <<
Endl;
109 std::vector<TString>* names =
new std::vector<TString>();
110 names->push_back(fLINEAR);
111 names->push_back(fSIGMOID);
112 names->push_back(fTANH);
113 names->push_back(fRELU);
114 names->push_back(fRADIAL);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
ostringstream derivative to redirect and format output
std::vector< TString > * GetAllActivationNames() const
returns the names of all know activation functions
virtual ~TActivationChooser()
Destructor.
TActivationChooser()
Default constructor.
TActivation * CreateActivation(EActivationType type) const
instantiate the correct activation object according to the type chosen (given as the enumeration type...
Identity activation function for TNeuron.
Radial basis activation function for ANN.
Rectified Linear Unit activation function for TNeuron.
Sigmoid activation function for TNeuron.
Tanh activation function for ANN.
Interface for TNeuron activation function classes.
MsgLogger & Endl(MsgLogger &ml)