ROOT 6.14/05 Reference Guide |
Sigmoid activation function for TNeuron.
This really simple implementation uses TFormula and should probably be replaced with something more efficient later.
Definition at line 42 of file TActivationSigmoid.h.
Public Member Functions | |
TActivationSigmoid () | |
constructor for sigmoid normalized in [0,1] More... | |
~TActivationSigmoid () | |
destructor More... | |
Double_t | Eval (Double_t arg) |
evaluate the sigmoid More... | |
Double_t | EvalDerivative (Double_t arg) |
evaluate the derivative of the sigmoid More... | |
TString | GetExpression () |
get expressions for the sigmoid and its derivatives More... | |
Double_t | GetMax () |
Double_t | GetMin () |
virtual void | MakeFunction (std::ostream &fout, const TString &fncName) |
writes the sigmoid activation function source code More... | |
Public Member Functions inherited from TMVA::TActivation | |
TActivation () | |
virtual | ~TActivation () |
Private Attributes | |
TFormula * | fEqn |
TFormula * | fEqnDerivative |
#include <TMVA/TActivationSigmoid.h>
TMVA::TActivationSigmoid::TActivationSigmoid | ( | ) |
constructor for sigmoid normalized in [0,1]
Definition at line 48 of file TActivationSigmoid.cxx.
TMVA::TActivationSigmoid::~TActivationSigmoid | ( | ) |
destructor
Definition at line 58 of file TActivationSigmoid.cxx.
evaluate the sigmoid
Implements TMVA::TActivation.
Definition at line 67 of file TActivationSigmoid.cxx.
evaluate the derivative of the sigmoid
Implements TMVA::TActivation.
Definition at line 78 of file TActivationSigmoid.cxx.
|
virtual |
get expressions for the sigmoid and its derivatives
Implements TMVA::TActivation.
Definition at line 89 of file TActivationSigmoid.cxx.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 59 of file TActivationSigmoid.h.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 56 of file TActivationSigmoid.h.
|
virtual |
writes the sigmoid activation function source code
Implements TMVA::TActivation.
Definition at line 107 of file TActivationSigmoid.cxx.
|
private |
Definition at line 69 of file TActivationSigmoid.h.
|
private |
Definition at line 70 of file TActivationSigmoid.h.