To predict yes or no, squeeze a straight line through an S-curve so the output becomes a probability between 0 and 1. The steepness says how confident the model is.