Learn R Programming

darch (version 0.12.0)

addLayer: Adds a layer to the '>DArch object

Description

Adds a layer to the given '>DArch object. The parameter weights and biases will be put together in one matrix.

Usage

addLayer(darch, weights, biases, unitFunction, weightUpdateFunction)

Arguments

darch

An instance of the class '>DArch.

weights

The weights for the layer.

biases

The biases for the layer.

unitFunction

The functions of the units in the layer.

See Also

'>DArch