Learn R Programming

darch (version 0.9.1)

softmaxUnit: Softmax unit function.

Description

The function calculates the activation of the units and returns a list, in which the first entry is the result through the softmax transfer function.

Usage

softmaxUnit(data,weights)

Arguments

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

Value

  • A list with the softmax activation in the first entry

See Also

DArch, sigmoidUnit, binSigmoidUnit, sigmoidUnitDerivative, linearUnit, linearUnitDerivative, softmaxUnitDerivative