Sigmoid: : Sigmoid

View source: R/activations.R

SigmoidR Documentation

: Sigmoid

Description

The Sigmoid activation function.

Usage

Sigmoid(x)

Arguments

x

a real number that is the input to our Sigmoid function.

Value

The output of a standard Sigmoid function, i,e. \frac{1}{1 + \exp(-x)}. See also Tanh.and ReLU.

Examples

Sigmoid(0)
Sigmoid(-1)


nnR documentation built on May 29, 2024, 2:02 a.m.

Related to Sigmoid in nnR...