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 0All lessons in this course
- Weights, Bias & the Weighted Sum
- The Step Function & Linear Decisions
- Code a Perceptron from Scratch
- The XOR Problem: Why One Neuron Isn't Enough