#include <shark/Data/Pgm.h>#include <shark/Data/SparseData.h>#include <shark/Models/Autoencoder.h>#include <shark/Models/TiedAutoencoder.h>#include <shark/ObjectiveFunctions/ErrorFunction.h>#include <shark/Algorithms/GradientDescent/Rprop.h>#include <shark/ObjectiveFunctions/Loss/SquaredLoss.h>#include <shark/ObjectiveFunctions/Regularizer.h>Go to the source code of this file.
Functions | |
| template<class AutoencoderModel > | |
| AutoencoderModel | trainAutoencoderModel (UnlabeledData< RealVector > const &data, std::size_t numHidden, std::size_t iterations, double regularisation) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| AutoencoderModel trainAutoencoderModel | ( | UnlabeledData< RealVector > const & | data, |
| std::size_t | numHidden, | ||
| std::size_t | iterations, | ||
| double | regularisation | ||
| ) |
Definition at line 16 of file AutoEncoderTutorial.cpp.
References shark::dataDimension(), shark::IRpropPlusFull::init(), shark::initRandomUniform(), shark::Autoencoder< HiddenNeuron, OutputNeuron >::name(), shark::ErrorFunction::numberOfVariables(), shark::ResultSet< SearchPointT, ResultT >::point, shark::Autoencoder< HiddenNeuron, OutputNeuron >::setParameterVector(), shark::ErrorFunction::setRegularizer(), shark::Autoencoder< HiddenNeuron, OutputNeuron >::setStructure(), shark::AbstractSingleObjectiveOptimizer< PointType >::solution(), shark::IRpropPlusFull::step(), and shark::ResultSet< SearchPointT, ResultT >::value.