The function calculates the activation of the units and returns a list, in which the first entry is the linear activation of the units and the second entry is the derivative of the transfer function.
linearUnitDerivative(data, weights)
The data matrix for the calculation
The weight and bias matrix for the calculation
A list with the linear activation in the first entry and the derivative of the activation in the second entry
Other DArch unit functions: binSigmoidUnit
;
linearUnit
;
maxoutUnitDerivative
;
sigmoidUnitDerivative
;
sigmoidUnit
;
softmaxUnitDerivative
;
softmaxUnit
;
tanSigmoidUnitDerivative
;
tanSigmoidUnit