'>DArch networkThis function pre-trains a '>DArch network with the
contrastive divergence method
preTrainDArch(darch, dataSet, numEpochs = 1, numCD = 1, ...,
trainOutputLayer = F)The number of epochs
The number of CD iterations
Additional parameters for the function trainRBM
Logical indicating whether to train the output layer RBM.
The function runs for every '>RBM in the
attribute rbmList the training function trainRBM
copies after the training the weights and biases into the corresponding
layer of the '>DArch network.
'>DArch, '>RBM,
trainRBM