Straight Line, Curved Squeeze

Logistic regression predicts P(y=1∣x)=sigmoid(w⋅x+b)P(y=1|x) = \text{sigmoid}(w \cdot x + b) and classifies using threshold 0.50.5. What is the shape of the resulting decision boundary in the original feature space?

A

It varies in shape depending on how steep the sigmoid is

B

Linear (a hyperplane), since sigmoid(z)=0.5\text{sigmoid}(z)=0.5 exactly when the linear score w⋅x+bw \cdot x+b equals 00

C

A quadratic curve, because the sigmoid function itself is curved

D

A circle centered at the origin