Learn R Programming

darch (version 0.10.0)

preTrainDArch,DArch-method: Pre-trains a '>DArch network

Description

Pre-trains a '>DArch network

Usage

# S4 method for DArch
preTrainDArch(darch, dataSet, numEpochs = 1, numCD = 1,
  ..., trainOutputLayer = F)

Arguments

darch

A instance of the class '>DArch.

dataSet

'>DataSet to be used for training.

numEpochs

The number of epochs

numCD

The number of CD iterations

...

Additional parameters for the function trainRBM

trainOutputLayer

Logical indicating whether to train the output layer RBM.

See Also

preTrainDArch