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)
Neural layer with linear neurons, with a [softmax activation](http://en.wikipedia.org/wiki/Softmax_function) function. can be only be used as an output layer. [Cross entropy](http://en.wikipedia.org/wiki/Cross_entropy) error measure is used.
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()
virtual const char * get_name() const