ROOT logo
ROOT » TMVA » TMVA::TActivationIdentity

class TMVA::TActivationIdentity: public TMVA::TActivation

Function Members (Methods)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void MakeFunction(ostream& fout, const TString& fncName)
 writes the identity function source code
TActivationIdentity()
{}
~TActivationIdentity()
{}
Double_t Eval(Double_t arg)
 evaluate the activation function
{ return arg; }
Double_t EvalDerivative(Double_t )
 evaluate the derivative of the activation function
Double_t GetMin()
 minimum of the range of the activation function
{ return 0; }
Double_t GetMax()
 maximum of the range of the activation function
{ return 1; }
TString GetExpression()
 expression for activation function
{ return "x\t1"; }