newDArch: Constructor function for DArch
objects.
Description
Generate a new DArch
object with the given
parameters.Usage
newDArch(layers,batchSize,ff=FALSE,
logLevel=INFO, genWeightFunc=generateWeights)
Arguments
layers
Array of layer sizes.
batchSize
Size of the batches
ff
Indicates whether the ff
package is used for the weights, biases and outputs genWeightFunc
The function for generating the
weight matrices
Details
It is recommended to use this function for generating a new
DArch
object, because this function generates
and sets all the necessary parameters like the internally
used RBM
networks, the list of statistiks
(stats
) etc.