What Sigmoid Function Meaning, Applications & Example

Activation function that outputs values between 0 and 1.

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.

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