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