sigmoidUnitRbm: Calculates the RBM neuron output with the sigmoid function

Description Usage Arguments Details Value See Also

View source: R/rbmUnitFunctions.R

Description

Calculates the RBM neuron output with the sigmoid function from input saved in data.

Usage

1
2
sigmoidUnitRbm(rbm, data, biases, weights, runParams,
  matMult = getParameter(".matMult", ...), ...)

Arguments

rbm

An instance of the class RBM.

data

A matrix with the data 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.

matMult

Matrix multiplication function.

...

Additional parameters, not used.

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.

Value

The real value and binary activations for the units

See Also

Other RBM unit functions: linearUnitRbm, tanhUnitRbm


maddin79/darch documentation built on May 21, 2019, 10:53 a.m.