24 #ifndef ROOT_TMVA_TActivationTanh 25 #define ROOT_TMVA_TActivationTanh Double_t fast_tanh(Double_t arg)
a fast tanh approximation
TString GetExpression()
get expressions for the tanh and its derivative whatever that may be good for ... ...
TActivationTanh()
constructor for tanh sigmoid (normalized in [-1,1])
virtual void MakeFunction(std::ostream &fout, const TString &fncName)
writes the sigmoid activation function source code
#define ClassDef(name, id)
Double_t EvalDerivative(Double_t arg)
evaluate the derivative
Tanh activation function for ANN.
Double_t Eval(Double_t arg)
evaluate the tanh
~TActivationTanh()
destructor
Abstract ClassifierFactory template that handles arbitrary types.
Interface for TNeuron activation function classes.