LogLikeFunction Class Reference
LogLike Function !! More...

Public Member Functions | |
LogLikeFunction (double A=1.0, double B=5.0) | |
Construct a LogLike with deltas specified. | |
virtual | ~LogLikeFunction () |
Destructor. | |
virtual void | apply (DoubleVector &inputs, DoubleVector &outputs) |
Implement the updating method. | |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix) |
Configures the object using a ConfigurationParameters object. | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Save the actual status of parameters into the ConfigurationParameters object passed. | |
Public Attributes | |
double | A |
A coefficient. | |
double | B |
B coefficient. |
Detailed Description
LogLike Function !!
It compute the following equation:
Definition at line 455 of file liboutputfunctions.h.
Constructor & Destructor Documentation
LogLikeFunction | ( | double | A = 1.0 , |
double | B = 5.0 |
||
) |
Construct a LogLike with deltas specified.
Definition at line 573 of file liboutputfunctions.cpp.
References LogLikeFunction::A, and LogLikeFunction::B.
virtual ~LogLikeFunction | ( | ) | [inline, virtual] |
Destructor.
Definition at line 460 of file liboutputfunctions.h.
Member Function Documentation
void apply | ( | DoubleVector & | inputs, |
DoubleVector & | outputs | ||
) | [virtual] |
Implement the updating method.
Implements OutputFunction.
Definition at line 579 of file liboutputfunctions.cpp.
References LogLikeFunction::A, LogLikeFunction::B, farsa::inv(), and farsa::mul().
void configure | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Configures the object using a ConfigurationParameters object.
- Parameters:
-
params the configuration parameters object with parameters to use prefix the prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one
Implements ParameterSettableWithConfigureFunction.
Definition at line 585 of file liboutputfunctions.cpp.
References LogLikeFunction::A, LogLikeFunction::B, and ConfigurationParameters::getValue().
void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [virtual] |
Save the actual status of parameters into the ConfigurationParameters object passed.
- Parameters:
-
params the configuration parameters object on which save actual parameters prefix the prefix to use to access the object configuration parameters.
Implements ParameterSettable.
Definition at line 608 of file liboutputfunctions.cpp.
References LogLikeFunction::A, LogLikeFunction::B, ConfigurationParameters::createParameter(), and ConfigurationParameters::startObjectParameters().
Member Data Documentation
double A |
A coefficient.
Definition at line 483 of file liboutputfunctions.h.
Referenced by LogLikeFunction::apply(), LogLikeFunction::configure(), LogLikeFunction::LogLikeFunction(), and LogLikeFunction::save().
double B |
B coefficient.
Definition at line 485 of file liboutputfunctions.h.
Referenced by LogLikeFunction::apply(), LogLikeFunction::configure(), LogLikeFunction::LogLikeFunction(), and LogLikeFunction::save().
The documentation for this class was generated from the following files:
- nnfw/include/liboutputfunctions.h
- nnfw/src/liboutputfunctions.cpp