50 fEqn =
new TFormula(
"Gaussian",
"TMath::Exp(-x^2/2.0)");
51 fEqnDerivative =
new TFormula(
"derivative",
"-x*TMath::Exp(-x^2/2.0)");
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
TString GetExpression()
get expressions for the gaussian and its derivatives
TFormula * fEqnDerivative
Double_t EvalDerivative(Double_t arg)
evaluate derivative
Abstract ClassifierFactory template that handles arbitrary types.
static const Int_t UNINITIALIZED