ROOT » TMVA » TMVA » TMVA::TActivationTanh

class TMVA::TActivationTanh: public TMVA::TActivation

  Tanh activation function for ANN. This really simple implementation
  uses TFormulas and should probably be replaced with something more
  efficient later.

Function Members (Methods)

Data Members


Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

 constructor for tanh sigmoid (normalized in [-1,1])
Double_t fast_tanh(Double_t arg)
 a fast tanh approximation
Double_t Eval(Double_t arg)
 evaluate the tanh
Double_t EvalDerivative(Double_t arg)
 evaluate the derivative
TString GetExpression()
 get expressions for the tanh and its derivative
 whatever that may be good for ...
void MakeFunction(ostream& fout, const TString& fncName)
 writes the sigmoid activation function source code
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; }
void SetSlow()