#include <elman.h>
Inherits MultiLayerFFNN.
Inheritance diagram for Elman:
Public Member Functions | |
Elman (double eps, const std::vector< Layer > &layers, double lambda) | |
virtual | ~Elman () |
virtual void | init (unsigned int inputDim, unsigned int outputDim, double unit_map=0.0) |
initialisation of the network with the given number of input and output units | |
virtual const matrix::Matrix | process (const matrix::Matrix &input) |
passive processing of the input (this will be different for every input, since it is a recurrent network) | |
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 | |
bool | store (FILE *f) const |
stores the layer binary into file stream | |
bool | restore (FILE *f) |
restores the layer binary from file stream | |
virtual paramkey | getName () const |
return the name of the object | |
Protected Attributes | |
std::vector< matrix::Matrix > | contextweights |
std::vector< matrix::Matrix > | contexts |
double | lambda |
|
|
|
|
|
return the name of the object
Reimplemented from MultiLayerFFNN.
|
|
initialisation of the network with the given number of input and output units
Reimplemented from MultiLayerFFNN.
|
|
performs learning and returns the network output before learning
Reimplemented from MultiLayerFFNN.
|
|
passive processing of the input (this will be different for every input, since it is a recurrent network)
Reimplemented from MultiLayerFFNN.
|
|
restores the layer binary from file stream
Reimplemented from MultiLayerFFNN.
|
|
stores the layer binary into file stream
Reimplemented from MultiLayerFFNN.
|
|
|
|
|
|
|