Learn R Programming

darch (version 0.9.1)

getLayerFunction: Returns the neuron function of a layer from the DArch object.

Description

The function returns the neuron function of the layer with the given index.

Usage

getLayerFunction(darch,index=1)

## S3 method for class 'DArch': getLayerFunction(darch, index = 1)

Arguments

darch
A instance of the class DArch.
index
The index of the layer.Default is 1.

See Also

DArch sigmoidUnit, binSigmoidUnit, sigmoidUnitDerivative, linearUnitDerivative, softmaxUnit, softmaxUnitDerivative