generateRBMs: Generates the rbm's for the pre-training.
Description
Used the layer sizes from the DArch object to create the
RBM objects for the pre-training.Usage
generateRBMs(darch, layers, genWeightFunc = generateWeights)## S3 method for class 'DArch':
generateRBMs(darch, layers, genWeightFunc = generateWeights)
Arguments
darch
A instance of the class
DArch
. layers
An array with the sizes of the layers
genWeightFunc
The function for generating the
weight matrices
Value
- The DArch object with the generated rbm's