Learn R Programming

darch (version 0.12.0)

addLayer,DArch-method: Adds a layer to the '>DArch object

Description

Adds a layer to the '>DArch object

Usage

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

addLayer