9#include <trg/grl/dataobjects/GRLMLP.h>
22 unsigned short targets,
23 const std::vector<float>& outputscale
34 unsigned nWeights = 0;
std::vector< float > m_weights
Weights of the network.
GRLMLP()
default constructor.
unsigned nWeightsCal() const
calculate number of weights from number of nodes
unsigned getNumberOfLayers() const
get number of layers
std::vector< float > m_outputScale
Output[i] of the MLP is scaled from [-1, 1] to [outputScale[2i], outputScale[2i+1]].
std::vector< unsigned short > m_nNodes
Number of nodes in each layer, not including bias nodes.
std::vector< float > m_bias
bias of the network.
unsigned nBiasCal() const
calculate number of weights from number of nodes
unsigned short m_targetVars
output variables: 1: z, 2: theta, 3: (z, theta)
bool m_trained
Indicator whether the weights are just default values or have been set by some trainer (set to true w...
Abstract base class for different kinds of events.