Learn R Programming

darch (version 0.10.0)

binSigmoidUnit: Binary sigmoid unit function.

Description

The function calculates the activation and the output from the sigmoid transfer function. It returns a binary matrix where a entry is 1 if the value is bigger than a random number generated with runif.

Usage

binSigmoidUnit(data, weights)

Arguments

data

The data matrix for the calculation

weights

The weight and bias matrix for the calculation

Value

A list with the binary activation of the unit in the first entry.

See Also

'>DArch

Other DArch unit functions: linearUnitDerivative; linearUnit; maxoutUnitDerivative; sigmoidUnitDerivative; sigmoidUnit; softmaxUnitDerivative; softmaxUnit; tanSigmoidUnitDerivative; tanSigmoidUnit