88 if (
fEqn == NULL) expr +=
"<null>";
104 fout <<
"double " << fncName <<
"(double x) const {" << std::endl;
105 fout <<
" // radial" << std::endl;
106 fout <<
" return exp(-x*x/2.0);" << std::endl;
107 fout <<
"}" << std::endl;
Radial basis activation function for ANN.
Double_t Eval(Double_t arg)
evaluate gaussian
virtual void MakeFunction(std::ostream &fout, const TString &fncName)
writes the sigmoid activation function source code
~TActivationRadial()
destructor
TActivationRadial()
constructor for gaussian with center 0, width 1
TString GetExpression()
get expressions for the gaussian and its derivatives
TFormula * fEqnDerivative
Double_t EvalDerivative(Double_t arg)
evaluate derivative
static const Int_t UNINITIALIZED