Learn R Programming

darch (version 0.10.0)

generateRBMs: Generates the RBMs 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)

# S4 method for 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 RBMs

See Also

DArch RBM