tanhUnitRbm: Calculates the neuron output with the hyperbolic tangent...

Description Usage Arguments Details Value See Also

View source: R/rbmUnitFunctions.R

Description

Calculates the neuron output with the hyperbolic tangent function from input in data.

Usage

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

Arguments

rbm

A 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, used for parameter resolution.

Details

The return value is a list with the output of the hyperbolic tangent function as first entry and binary (-1,1) representation calculated through a comparison ofthe output with random numbers. The random numbers a generated with the function runif.

Value

The real value and binary (-1,1) activations for the units.

See Also

Other RBM unit functions: linearUnitRbm, sigmoidUnitRbm


darch documentation built on May 29, 2017, 8:14 p.m.

Related to tanhUnitRbm in darch...