latest version v1.9 - last update 10 Apr 2010 |
a linear activation function More...
#include <ltiMLP.h>
Public Member Functions | |
virtual bool | apply (dvector &output) const |
virtual bool | apply (const dvector &src, dvector &output) const |
virtual bool | deriv (dvector &output) const |
virtual const double & | onValue () const |
virtual const double & | offValue () const |
virtual activationFunctor * | clone () const |
a linear activation function
virtual bool lti::MLP::linearActFunctor::apply | ( | const dvector & | src, | |
dvector & | output | |||
) | const [inline, virtual] |
the functor operator.
Operates on copy
Implements lti::MLP::activationFunctor.
References lti::genericVector< T >::copy().
virtual bool lti::MLP::linearActFunctor::apply | ( | dvector & | output | ) | const [inline, virtual] |
the functor operator
Implements lti::MLP::activationFunctor.
virtual activationFunctor* lti::MLP::linearActFunctor::clone | ( | ) | const [inline, virtual] |
return a copy of this functor
Implements lti::MLP::activationFunctor.
virtual bool lti::MLP::linearActFunctor::deriv | ( | dvector & | output | ) | const [inline, virtual] |
the derivative of the functor
Implements lti::MLP::activationFunctor.
References lti::genericVector< T >::fill().
virtual const double& lti::MLP::linearActFunctor::offValue | ( | ) | const [inline, virtual] |
return value used to represent "false" or "off"
Implements lti::MLP::activationFunctor.
virtual const double& lti::MLP::linearActFunctor::onValue | ( | ) | const [inline, virtual] |
return value used to represent "true" or "on"
Implements lti::MLP::activationFunctor.