Learn R Programming

darch (version 0.10.0)

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

logLevel

The logging level. See setLogLevel for details.

genWeightFunc

The function for generating the weight matrices

Value

The new DArch object

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 statistics (stats) etc.