53 if (decoding_layer==NULL)
72 int32_t input_width, int32_t input_height, int32_t input_num_channels,
98 REQUIRE(data != NULL,
"Invalid (NULL) feature pointer\n");
172 void CAutoencoder::init()
SGVector< int32_t > m_index_offsets
virtual int32_t get_num_parameters()
virtual void initialize_neural_network(float64_t sigma=0.01f)
virtual CDenseFeatures< float64_t > * reconstruct(CDenseFeatures< float64_t > *data)
EAENoiseType m_noise_type
SGVector< float64_t > m_params
A generic multi-layer neural network.
SGMatrix< float64_t > features_to_matrix(CFeatures *features)
Base class for neural network layers.
virtual float64_t compute_error(SGMatrix< float64_t > targets)
virtual bool train_gradient_descent(SGMatrix< float64_t > inputs, SGMatrix< float64_t > targets)
virtual void quick_connect()
float64_t m_noise_parameter
virtual float64_t compute_error(SGMatrix< float64_t > inputs, SGMatrix< float64_t > targets)
float64_t m_dropout_hidden
float64_t m_dropout_input
float64_t m_contraction_coefficient
virtual float64_t compute_contraction_term(SGVector< float64_t > parameters)
virtual bool train(CFeatures *data)
ENLAutoencoderPosition autoencoder_position
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
ENNOptimizationMethod m_optimization_method
virtual CDenseFeatures< float64_t > * transform(CDenseFeatures< float64_t > *data)
CNeuralLayer * get_layer(int32_t i)
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
Main component in convolutional neural networks
virtual bool train_lbfgs(SGMatrix< float64_t > inputs, SGMatrix< float64_t > targets)
The class Features is the base class of all feature objects.
virtual SGMatrix< float64_t > forward_propagate(CFeatures *data, int32_t j=-1)
virtual void set_layers(CDynamicObjectArray *layers)
bool append_element(CSGObject *e)