Skip to content

Linearity of Binary Logistic Regression #61

Discussion options

You must be logged in to vote

Is a single layer logistic neuron with sigmoid activation able to learn non linear classification boundaries ?

Good question, but the answer is no. This would be a logistic regression model :).

Why is it so when sigmoid is non-linear activation function ?

That's because the terms still enter the function in a linear fashion. E.g., if you have sigmoid(w1*x1 + w2*x2 + b) then w1*x1 + w2*x2 + b is still a linear function. To create non-linear boundaries, there would need to be a nonlinear interaction between the terms. E.g., w1*x1 + w2*x2^2 + b or w1*x1 + w2*w1*x2 + b etc.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ajith-Shenoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants