Learn R Programming

nnR (version 0.1.0)

Sigmoid: : Sigmoid

Description

The Sigmoid activation function.

Usage

Sigmoid(x)

Value

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

Arguments

x

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

Examples

Run this code
Sigmoid(0)
Sigmoid(-1)

Run the code above in your browser using DataLab