ARTIFICIAL INTELLIGENCE
The Sigmoid Function
Article by:Geoffrey Hunter
Date Published: | |
Last Modified: |
Contents
The sigmoid function is a mathematical function which when plotted, has a characteristic “S” shape or sigmoid curve. Sigmoid curves include many cumulative distribution functions (CDFs), including the CDF of the normal distribution. They are also used in neural networks as an activation function.
Logistic Function
The logistic function is given by the following equation:
$$ S(x) = \frac{1}{1 + e^{-x}} $$
Plotted from \(x = -10\)
to \(x = 10\)
, the function looks like this:
The logistic function pops up in logistic regression (a popular algorithm used in machine learning) in the form:
$$ P = \frac{1}{1 + e^{-(a + b_i X_i)}} $$
where:
\(P\) is the probability of success
(\a, b_i\) are coefficients
\(X_i\) are feature variables
Authors

This work is licensed under a Creative Commons Attribution 4.0 International License .
Related Content:
- Understanding Logistic Regression
- Lambda
- Inferential Statistics
- Consistent Overhead Byte Stuffing (COBS)
- How To Change The IO Scheduling Class And Priority In Linux
Tags
- programming
- artificial intelligence
- AI
- Sigmoid
- function
- mathematics
- S curve
- machine learning
- logistic function
- logistic regression