Tanh activation function for ANN.
Definition at line 41 of file TActivationTanh.h.
Public Member Functions | |
TActivationTanh () | |
~TActivationTanh () | |
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 ... | |
Double_t | GetMax () |
Double_t | GetMin () |
virtual void | MakeFunction (std::ostream &fout, const TString &fncName) |
writes the Tanh sigmoid activation function source code | |
void | SetSlow () |
Public Member Functions inherited from TMVA::TActivation | |
TActivation () | |
virtual | ~TActivation () |
Private Member Functions | |
Double_t | fast_tanh (Double_t arg) |
a fast tanh approximation | |
Private Attributes | |
Bool_t | fFAST |
#include <TMVA/TActivationTanh.h>
|
inline |
Definition at line 45 of file TActivationTanh.h.
|
inline |
Definition at line 46 of file TActivationTanh.h.
evaluate the derivative
Implements TMVA::TActivation.
Definition at line 63 of file TActivationTanh.cxx.
a fast tanh approximation
Definition at line 43 of file TActivationTanh.cxx.
|
virtual |
get expressions for the tanh and its derivative whatever that may be good for ...
Implements TMVA::TActivation.
Definition at line 73 of file TActivationTanh.cxx.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 58 of file TActivationTanh.h.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 55 of file TActivationTanh.h.
writes the Tanh sigmoid activation function source code
Implements TMVA::TActivation.
Definition at line 82 of file TActivationTanh.cxx.
|
inline |
Definition at line 66 of file TActivationTanh.h.
|
private |
Definition at line 70 of file TActivationTanh.h.