Learn R Programming

darch (version 0.10.0)

softmaxUnitDerivative: Softmax unit function with unit derivatives.

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 and the second entry is the derivative of the transfer function.

Usage

softmaxUnitDerivative(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 and the derivative of the transfer function in the second entry

See Also

'>DArch

Other DArch unit functions: binSigmoidUnit; linearUnitDerivative; linearUnit; maxoutUnitDerivative; sigmoidUnitDerivative; sigmoidUnit; softmaxUnit; tanSigmoidUnitDerivative; tanSigmoidUnit