ROOT » TMVA » TMVA » TMVA::TActivationReLU

class TMVA::TActivationReLU: public TMVA::TActivation

Function Members (Methods)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TActivationReLU()
 constructor for ReLU
~TActivationReLU()
 destructor
TString GetExpression()
 get expressions for the tanh and its derivative
void MakeFunction(ostream& fout, const TString& fncName)
 writes the sigmoid activation function source code
TActivationReLU()
Double_t Eval(Double_t arg)
 evaluate the activation function
{ return arg>0 ? arg : 0;}
Double_t EvalDerivative(Double_t arg)
 evaluate the derivative of the activation function
{ return arg>0 ? 1 : 0;}
Double_t GetMin()
 minimum of the range of the activation function
{ return -1; }
Double_t GetMax()
 maximum of the range of the activation function
{ return 1; }