34 #ifndef __NEURALSOFTMAXLAYER_H__
35 #define __NEURALSOFTMAXLAYER_H__
94 virtual const char*
get_name()
const {
return "NeuralSoftmaxLayer"; }
virtual void compute_local_gradients(SGMatrix< float64_t > targets)
virtual void compute_activations(SGVector< float64_t > parameters, CDynamicObjectArray *layers)
virtual const char * get_name() const
Neural layer with linear neurons, with a softmax activation function. can be only be used as an outpu...
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...
all of classes and functions are contained in the shogun namespace
virtual float64_t compute_error(SGMatrix< float64_t > targets)
virtual ~CNeuralSoftmaxLayer()