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