Learn R Programming

darch (version 0.12.0)

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

Description

Pre-trains a '>DArch network

Usage

# S4 method for DArch
preTrainDArch(darch, dataSet, dataSetValid = NULL,
  numEpochs = 1, numCD = 1, lastLayer = 0, isClass = F,
  consecutive = T, ...)

Arguments

darch

A instance of the class '>DArch.

dataSet

'>DataSet to be used for training.

dataSetValid

'>DataSet to be used for validation.

numEpochs

The number of epochs

numCD

The number of CD iterations

lastLayer

Numeric indicating after which layer to stop training.

isClass

Whether to test pre-trained networks against target data

consecutive

Whether to train RBMs consecutively instead of each one epoch at a time.

...

Additional parameters for the function trainRBM

See Also

preTrainDArch