9#include <trg/grl/dataobjects/GRLMLP.h>
15 m_nNodes{19, 20, 20, 1}, m_trained(false), m_targetVars(1), m_outputScale{ 0., 1.}
22 unsigned short targets,
23 const std::vector<float>& outputscale
25 m_nNodes(nodes), m_trained(false), m_targetVars(targets), m_outputScale(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< 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
Abstract base class for different kinds of events.