Description Usage Arguments Details Value See Also
This function pre-trains a DArch
network with the
contrastive divergence method
1 2 | preTrainDArch(darch, dataSet, dataSetValid = NULL, numEpochs = 1,
numCD = 1, lastLayer = 0, isClass = F, consecutive = T, ...)
|
darch |
A instance of the class |
dataSet |
|
dataSetValid |
|
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 |
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.
Trained DArch
instance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.