Calculates the RBM neuron output with the sigmoid function from input saved
in data
.
sigmoidUnitRbm(rbm, data, biases, weights, runParams,
matMult = getParameter(".matMult", ...), ...)
A matrix with the data for the calculations.
The biases for the calculations.
The weight matrix for the calculations.
Parameters which indicates the status of the training.
Matrix multiplication function.
Additional parameters, not used.
The real value and binary activations for the units
The return value is a list with the output of the sigmoid function
as first entry and binary representation calculated through a comparison of
the output with random numbers. The random numbers a generated with the
function runif
.
Other RBM unit functions: linearUnitRbm
,
tanhUnitRbm