DArch objects.Generate a new DArch object with the given parameters.
newDArch(layers,batchSize,ff=FALSE,
logLevel=INFO, genWeightFunc=generateWeights)Array of layer sizes.
Size of the batches
Indicates whether the ff package is used for the
weights, biases and outputs
The logging level.
See setLogLevel for details.
The function for generating the weight matrices
The new DArch object
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 statistics (stats) etc.