sigmUnitFunc: Calculates the neuron output with the sigmoid function
Description
Calculates the neuron output with the sigmoid function from
binary input saved in the second entry of the list
dataList
.Usage
sigmUnitFunc(rbm, dataList, biases, weights, runParams)
Arguments
rbm
A instance of the class RBM
. dataList
A list with the data matrices for the
calculations.
biases
The biases for the calculations
weights
The weight matrix for the calculations
runParams
Parameters which indicates the status of
the training.
Value
- The real value and binary activations for the units
Details
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
.