Sigmoid Function

2024 | AI Dictionary

What is the Sigmoid Function: A mathematical function that maps any real-valued number to a value between 0 and 1, used in machine learning for probabilities.

What is the Sigmoid Function?

The Sigmoid Function is a mathematical function that maps any real-valued number to a value between 0 and 1. It is commonly used in machine learning, especially for binary classification tasks, where the output needs to represent a probability. The function has an S-shaped curve, which makes it ideal for transforming the output of a model into a probability.

Sigmoid Formula

The formula for the sigmoid function is:

\[ S(x) = \frac{1}{1 + e^{-x}} \]

Where:

Applications of the Sigmoid Function

Example of Sigmoid Function

Given an input value of \( x = 2 \), the sigmoid function outputs:

\[ S(2) = \frac{1}{1 + e^{-2}} \approx 0.88 \]

This means the input has an 88% probability of belonging to the positive class in a binary classification task.

Did you liked the Sigmoid Function gist?

Learn about 250+ need-to-know artificial intelligence terms in the AI Dictionary.

Read the Governor's Letter

Stay ahead with Governor's Letter, the newsletter delivering expert insights, AI updates, and curated knowledge directly to your inbox.

By subscribing to the Governor's Letter, you consent to receive emails from AI Guv.
We respect your privacy - read our Privacy Policy to learn how we protect your information.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z