Learn R Programming

bnns (version 0.1.2)

sigmoid: sigmoid transformation

Description

sigmoid transformation

Usage

sigmoid(x)

Value

A numeric vector or matrix after sigmoid transformation.

Arguments

x

A numeric vector or matrix on which sigmoid transformation is going to be applied.

Examples

Run this code
sigmoid(matrix(1:4, nrow = 2))

Run the code above in your browser using DataLab