24 #ifndef ROOT_TMVA_TActivationTanh 25 #define ROOT_TMVA_TActivationTanh 42 #ifndef ROOT_TMVA_TActivation 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
Double_t Eval(Double_t arg)
evaluate the tanh
~TActivationTanh()
destructor
Abstract ClassifierFactory template that handles arbitrary types.