Learn R Programming

darch (version 0.9.1)

linearUnit: Linear unit function.

Description

The function calculates the activation of the units and returns it.

Usage

linearUnit(data,weights)

Arguments

data
The data matrix for the calculation
weights
The weight and bias matrix for the calculation

Value

  • A list with the linear activation of the unit in the first entry.

See Also

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