linearUnitDerivative: Linear 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 linear
activation of the units and the second entry is the
derivative of the transfer function.
Usage
linearUnitDerivative(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 in the first entry and
the derivative of the activation in the second entry