Learn R Programming

darch (version 0.9.1)

minimizeAutoencoder: Conjugate gradient for a autoencoder network

Description

This function trains a DArch autoencoder network with the conjugate gradient method.

Usage

minimizeAutoencoder(darch,trainData,targetData,epoch,length)

Arguments

darch
A instance of the class DArch.
trainData
The training data matrix
targetData
The labels for the training data
epoch
The actual epoch of the training
length
Numbers of line search

Value

  • The trained DArch object.

Details

This function is build on the basis of the code from G. Hinton et. al. (http://www.cs.toronto.edu/~hinton/MatlabForSciencePaper.html - last visit 06.06.2013) for the fine tuning of deep belief nets. The original code is located in the files 'backpropclassify.m', 'CG_MNIST.m' and 'CG_CLASSIFY_INIT.m'. It implements the fine tuning for a classification net with backpropagation using a direct translation of the minimize function from C. Rassmussen (available at http://www.gatsby.ucl.ac.uk/~edward/code/minimize/ - last visit 06.06.2013) to R.

See Also

DArch fineTuneDArch