2
$\begingroup$

In a binary classification problem, if both logistic regression and a single preceptron uses Sigmoid function, what's the difference in

  1. classification results, since they will have the same decision boundary ?
  2. their conceptual behaviour?
$\endgroup$
1

1 Answer 1

1
$\begingroup$

Their mechanics are the same, one neuron, uses linear combination of features, with intercept option and logit (sigmoid) function. Conceptually, they both try to find a hyperplane. If you also use the same loss function, they'll respond similarly.

One difference is that a typical logistic regression implementation uses Newton Conjugate Gradient solver (that uses Hessian matrix), while in neural net implementations this is not provided as an option due to its computational complexity. See sklearn implementations and solver options: logistic-regression, MLP.

$\endgroup$
1
  • $\begingroup$ we can use the same loss? see this discussion If you also use the same loss function, they'll respond similarly. $\endgroup$
    – Haitao Du
    Commented May 4, 2021 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.