#include <onelayerffnn.h>
Inheritance diagram for OneLayerFFNN:
Definition at line 7 of file onelayerffnn.h.
Public Member Functions | |
OneLayerFFNN (double eps, double factor_bias=0.1) | |
Uses linear activation function. | |
OneLayerFFNN (double eps, double factor_bias, ActivationFunction actfun, ActivationFunction dactfun) | |
virtual | ~OneLayerFFNN () |
virtual void | init (unsigned int inputDim, unsigned int outputDim) |
initialisation of the network with the given number of input and output units | |
virtual const matrix::Matrix | process (const matrix::Matrix &input) const |
passive processing of the input | |
virtual const matrix::Matrix | learn (const matrix::Matrix &input, const matrix::Matrix &nom_output, double learnRateFactor=1) |
performs learning and returns the network output before learning | |
virtual unsigned int | getInputDim () const |
returns the number of input neurons | |
virtual unsigned int | getOutputDim () const |
returns the number of output neurons | |
virtual const matrix::Matrix & | getWeights () const |
virtual const matrix::Matrix & | getBias () const |
virtual void | damp (double damping) |
damps the weights and the biases by multiplying (1-damping) | |
virtual paramkey | getName () const |
return the name of the object (with version number) Hint: { return "$ID$"; } | |
virtual paramval | getParam (const paramkey key) const |
virtual bool | setParam (const paramkey key, paramval val) |
virtual paramlist | getParamList () const |
The list of all parameters with there value as allocated lists. |
|
Uses linear activation function.
Definition at line 14 of file onelayerffnn.h. |
|
Definition at line 28 of file onelayerffnn.h. |
|
Definition at line 35 of file onelayerffnn.h. |
|
damps the weights and the biases by multiplying (1-damping)
Implements FeedForwardNN. Definition at line 61 of file onelayerffnn.h. |
|
Definition at line 58 of file onelayerffnn.h. |
|
returns the number of input neurons
Implements FeedForwardNN. Definition at line 49 of file onelayerffnn.h. |
|
return the name of the object (with version number) Hint: { return "$ID$"; }
Reimplemented from Configurable. Definition at line 67 of file onelayerffnn.h. |
|
returns the number of output neurons
Implements FeedForwardNN. Definition at line 53 of file onelayerffnn.h. |
|
Definition at line 71 of file onelayerffnn.h. |
|
The list of all parameters with there value as allocated lists.
Reimplemented from Configurable. Definition at line 83 of file onelayerffnn.h. |
|
Definition at line 57 of file onelayerffnn.h. |
|
initialisation of the network with the given number of input and output units
Implements FeedForwardNN. Definition at line 7 of file onelayerffnn.cpp. |
|
performs learning and returns the network output before learning
Implements FeedForwardNN. Definition at line 19 of file onelayerffnn.cpp. |
|
passive processing of the input
Implements FeedForwardNN. Definition at line 14 of file onelayerffnn.cpp. |
|
Definition at line 76 of file onelayerffnn.h. |