softplusUnit: Softplus unit function with unit derivatives.

Description Usage Arguments Value References See Also Examples

View source: R/darchUnitFunctions.R

Description

The function calculates the activation of the units and returns a list, in which the first entry is the softmax activation of the units and the second entry is the derivative of the transfer function. Softplus is a smoothed version of the rectified linear activation function.

Usage

1
softplusUnit(input, ...)

Arguments

input

Input for the activation function.

...

Additional parameters, not used.

Value

A list with the softplus activation in the first entry and the derivative of the activation in the second entry.

References

Dugas, Charles, Yoshua Bengio, Francois Belisle, Claude Nadeau, and Rene Garcia (2001). "Incorporating Second-Order Functional Knowledge for Better Option Pricing". In: Advances in Neural Information Processing Systems, pp. 472-478.

See Also

Other darch unit functions: exponentialLinearUnit, linearUnit, maxoutUnit, rectifiedLinearUnit, sigmoidUnit, softmaxUnit, tanhUnit

Examples

1
2
3
4
5
## Not run: 
data(iris)
model <- darch(Species ~ ., iris, darch.unitFunction = "softplusUnit")

## End(Not run)

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