Learn R Programming

TML (version 2.3.0)

sigmoid: Sigmoid function

Description

Returns the sigmoid function valuation

Usage

sigmoid(x)

Value

sigmoid function value at x

Arguments

x

real number

Author

Georgios Aliatimis g.aliatimis@lancaster.ac.uk

References

Aliatimis, Georgios, Ruriko Yoshida, Burak Boyaci and James A. Grant (2023). Tropical Logistic Regression on Space of Phylogenetic Trees

Examples

Run this code
sigmoid(0) # 0.5

Run the code above in your browser using DataLab