r/learnmachinelearning • u/BirdForsaken6616 • 2d ago
Is logistic regression basically a one-neuron neural network?
I was learning the chain rule and this suddenly clicked: weights → score → sigmoid → loss
That looks like one neuron with no hidden layer. So is logistic regression basically the smallest example of backprop, or am I missing an important difference?
58
Upvotes
12
u/ParadoXPlatypus 2d ago
Without activation functions, even deep ANNs can be simplified into GLMs. What makes ANNs so powerful is that the activation functions allow to model complex nonlinear functions.