Machine Learning

Sigmoid

An activation function that squashes input values into a range between 0 and 1, creating an S-shaped curve. It is commonly used for binary classification outputs and in certain neural network architectures.

Why It Matters

Sigmoid converts raw model outputs into probabilities, making them interpretable. It is essential for any binary decision-making in ML.

Example

A sigmoid function converting a model's raw score of 2.5 into a probability of 0.92, which could be interpreted as 92% chance of the email being spam.

Think of it like...

Like a volume knob that smoothly maps any input level to a range between mute and maximum — extreme inputs still stay within bounds.

Related Terms