0PricingLogin
Deep Learning Academy · Lesson

The Step Function & Linear Decisions

How a perceptron splits two classes.

From Score to Decision

The weighted sum gives a score, but you often need a clean yes or no. A step function turns that raw score into a firm decision.

What the Step Does

The step function outputs 1 if the score is at or above zero, and 0 if it is below. No in-between, just on or off. ⚡

output = 1 if score >= 0 else 0

All lessons in this course

  1. Weights, Bias & the Weighted Sum
  2. The Step Function & Linear Decisions
  3. Code a Perceptron from Scratch
  4. The XOR Problem: Why One Neuron Isn't Enough
← Back to Deep Learning Academy