79 SG_ERROR(
"Cannot be used as a hidden layer\n");
82 for (int32_t i=0; i< len; i++)
92 for (int32_t i=0; i< len; i++)
SGMatrix< float64_t > m_activations
virtual void compute_local_gradients(SGMatrix< float64_t > targets)
SGMatrix< float64_t > m_local_gradients
virtual void compute_activations(SGVector< float64_t > parameters, CDynamicObjectArray *layers)
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
Neural layer with linear neurons, with an identity activation function. can be used as a hidden layer...
virtual void compute_activations(SGVector< float64_t > parameters, CDynamicObjectArray *layers)
all of classes and functions are contained in the shogun namespace
virtual float64_t compute_error(SGMatrix< float64_t > targets)
static float64_t exp(float64_t x)
static float64_t log(float64_t v)
Matrix::Scalar max(Matrix m)