CNeuralNetworkStateModifier Class Reference
State Modifier used for
Neural Networks input states. More...
#include <cstatemodifier.h>
Inheritance diagram for CNeuralNetworkStateModifier:
List of all
members.
Detailed Description
State Modifier used for Neural Networks input states.
This state modifier does the input data preprocessing for neural
networks. For Non-Periodic continuous state variables, the current
state value gets scaled into the intervall [-1,1], periodic state
variables get a special treatment. In order to model the
periodicity more accurate, the periodic state variable gets
splitted into two state variables, one representing the sinus and
one the cosinus of the normalized periodic state. So a neural
network state has the number of periodic state variables more state
variables than the originalstate. The discrete state variables
remain the same. The original state can be set in the constructor
and is usually the modelstate.
Constructor & Destructor Documentation
|
CNeuralNetworkStateModifier::CNeuralNetworkStateModifier
|
( |
CStateProperties *
|
originalState |
) |
|
|
|
CNeuralNetworkStateModifier::CNeuralNetworkStateModifier
|
( |
CStateProperties *
|
originalState,
|
|
|
unsigned int * |
dimensions,
|
|
|
unsigned int |
numDim |
|
) |
|
|
|
CNeuralNetworkStateModifier::~CNeuralNetworkStateModifier
|
( |
|
) |
|
|
Member Function Documentation
| virtual void
CNeuralNetworkStateModifier::getModifiedState
|
( |
CStateCollection *
|
originalState,
|
|
|
CState *
|
modifiedState |
|
) |
[virtual] |
|
| |
Data preprocessing for NN's.
For Non-Periodic continuous state variables, the current state
value gets scaled into the intervall [-1,1], periodic state
variables get a special treatment. In order to model the
periodicity more accurate, the periodic state variable gets
splitted into two state variables, one representing the sinus and
one the cosinus of the normalized periodic state. So a neural
network state has the number of periodic state variables more state
variables than the originalstate. The discrete state variables
remain the same. The original state can be set in the constructor
and is usually the modelstate.
Implements CStateModifier.
|
| static int
CNeuralNetworkStateModifier::getNumInitContinuousStates
|
( |
CStateProperties *
|
properties,
|
|
|
unsigned int * |
dimensions,
|
|
|
unsigned int |
numDim |
|
) |
[static,
protected] |
|
| |
Returns the number of continuous states for the
NN-state.
|
| virtual void
CNeuralNetworkStateModifier::preprocessInput
|
( |
ColumnVector
*
|
input,
|
|
|
ColumnVector * |
norm_input |
|
) |
[protected,
virtual] |
|
| void
CNeuralNetworkStateModifier::setPreprocessing
|
( |
ColumnVector
*
|
input_mean,
|
|
|
ColumnVector * |
input_std |
|
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|