Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
TMVA::TActivationSigmoid Class Reference

Definition at line 48 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

TFormulafEqn
 
TFormulafEqnDerivative
 

#include <TMVA/TActivationSigmoid.h>

Inheritance diagram for TMVA::TActivationSigmoid:
[legend]

Constructor & Destructor Documentation

◆ TActivationSigmoid()

TMVA::TActivationSigmoid::TActivationSigmoid ( )

constructor for sigmoid normalized in [0,1]

Definition at line 49 of file TActivationSigmoid.cxx.

◆ ~TActivationSigmoid()

TMVA::TActivationSigmoid::~TActivationSigmoid ( )

destructor

Definition at line 59 of file TActivationSigmoid.cxx.

Member Function Documentation

◆ Eval()

Double_t TMVA::TActivationSigmoid::Eval ( Double_t  arg)
virtual

evaluate the sigmoid

Implements TMVA::TActivation.

Definition at line 68 of file TActivationSigmoid.cxx.

◆ EvalDerivative()

Double_t TMVA::TActivationSigmoid::EvalDerivative ( Double_t  arg)
virtual

evaluate the derivative of the sigmoid

Implements TMVA::TActivation.

Definition at line 79 of file TActivationSigmoid.cxx.

◆ GetExpression()

TString TMVA::TActivationSigmoid::GetExpression ( )
virtual

get expressions for the sigmoid and its derivatives

Implements TMVA::TActivation.

Definition at line 90 of file TActivationSigmoid.cxx.

◆ GetMax()

Double_t TMVA::TActivationSigmoid::GetMax ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 65 of file TActivationSigmoid.h.

◆ GetMin()

Double_t TMVA::TActivationSigmoid::GetMin ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 62 of file TActivationSigmoid.h.

◆ MakeFunction()

void TMVA::TActivationSigmoid::MakeFunction ( std::ostream &  fout,
const TString fncName 
)
virtual

writes the sigmoid activation function source code

Implements TMVA::TActivation.

Definition at line 108 of file TActivationSigmoid.cxx.

Member Data Documentation

◆ fEqn

TFormula* TMVA::TActivationSigmoid::fEqn
private

Definition at line 75 of file TActivationSigmoid.h.

◆ fEqnDerivative

TFormula* TMVA::TActivationSigmoid::fEqnDerivative
private

Definition at line 76 of file TActivationSigmoid.h.


The documentation for this class was generated from the following files: