#include <abstractmodel.h>
Inherits Configurable, and Storeable.
Inherited by FeedForwardNN, and InvertableModel.
Inheritance diagram for AbstractModel:
Public Member Functions | |
AbstractModel () | |
virtual | ~AbstractModel () |
virtual void | init (unsigned int inputDim, unsigned int outputDim, double unit_map=0.0)=0 |
initialisation of the network with the given number of input and output units | |
virtual const matrix::Matrix | process (const matrix::Matrix &input)=0 |
passive processing of the input (this function is not constant since a recurrent network for example might change internal states | |
virtual const matrix::Matrix | learn (const matrix::Matrix &input, const matrix::Matrix &nom_output, double learnRateFactor=1)=0 |
virtual unsigned int | getInputDim () const =0 |
returns the number of input neurons | |
virtual unsigned int | getOutputDim () const =0 |
returns the number of output neurons |
|
|
|
|
|
returns the number of input neurons
Implemented in MultiLayerFFNN, and OneLayerFFNN.
|
|
returns the number of output neurons
Implemented in MultiLayerFFNN, and OneLayerFFNN.
|
|
initialisation of the network with the given number of input and output units
Implemented in Elman, MultiLayerFFNN, and OneLayerFFNN.
|
|
Implemented in Elman, MultiLayerFFNN, and OneLayerFFNN.
|
|
passive processing of the input (this function is not constant since a recurrent network for example might change internal states
Implemented in Elman, MultiLayerFFNN, and OneLayerFFNN.
|