Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::TActivationSigmoid Class Reference

Sigmoid activation function for TNeuron.

Definition at line 41 of file TActivationSigmoid.h.

Public Member Functions

 TActivationSigmoid ()
 
 ~TActivationSigmoid ()
 
Double_t Eval (Double_t arg)
 evaluate the sigmoid
 
Double_t EvalDerivative (Double_t arg)
 evaluate the derivative of the sigmoid
 
TString GetExpression ()
 get expressions for the sigmoid and its derivatives
 
Double_t GetMax ()
 
Double_t GetMin ()
 
virtual void MakeFunction (std::ostream &fout, const TString &fncName)
 writes the sigmoid activation function source code
 
- Public Member Functions inherited from TMVA::TActivation
 TActivation ()
 
virtual ~TActivation ()
 

#include <TMVA/TActivationSigmoid.h>

Inheritance diagram for TMVA::TActivationSigmoid:
[legend]

Constructor & Destructor Documentation

◆ TActivationSigmoid()

TMVA::TActivationSigmoid::TActivationSigmoid ( )
inline

Definition at line 44 of file TActivationSigmoid.h.

◆ ~TActivationSigmoid()

TMVA::TActivationSigmoid::~TActivationSigmoid ( )
inline

Definition at line 45 of file TActivationSigmoid.h.

Member Function Documentation

◆ Eval()

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

evaluate the sigmoid

Implements TMVA::TActivation.

Definition at line 44 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 52 of file TActivationSigmoid.cxx.

◆ GetExpression()

TString TMVA::TActivationSigmoid::GetExpression ( )
virtual

get expressions for the sigmoid and its derivatives

Implements TMVA::TActivation.

Definition at line 61 of file TActivationSigmoid.cxx.

◆ GetMax()

Double_t TMVA::TActivationSigmoid::GetMax ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 57 of file TActivationSigmoid.h.

◆ GetMin()

Double_t TMVA::TActivationSigmoid::GetMin ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 54 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 70 of file TActivationSigmoid.cxx.

Libraries for TMVA::TActivationSigmoid:

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