← PreviousYou are hereReadLogistic regressionA weighted sum becomes a probability through the S-shaped sigmoid; the boundary at one half is a straight line, and the size of the weights sets how sharp it is.