1
$\begingroup$

Looking for an explanation of the linear regression estimation method in deep learning.

$\endgroup$
  • $\begingroup$ Can you list those algorithms? $\endgroup$ – SmallChess Oct 17 '17 at 14:40
  • $\begingroup$ Actually I am a noob. So need a clear perception. Correct me if I am wrong. $\endgroup$ – user8740537 Oct 17 '17 at 17:02
  • $\begingroup$ @SmallChess I think the OP should revise the question or migrate it to cross validated. $\endgroup$ – quintumnia Oct 19 '17 at 11:02
2
$\begingroup$

There's no point to fit a linear regression model (such as OLS) with neural network because it's really designed for non-linear models. But if you want to do that, you'll just need to set linear activation units.

$\endgroup$
0
$\begingroup$

Generally speaking, you can say this:

  1. there is a relationship between neural network learning (I'm assuming a "vanilla" ANN here, no CNN's or RNN's or anything) and linear/logistic regression.

  2. But they're not the same thing. Just related. You could maybe consider them "cousins" to use a real-life analogy.

The big obvious difference is this: standard linear regression is, well, linear, that is, it's based on a straight line. So it can only separate points on a plane which can be separated by a straight line drawn on that plane. An ANN however, is non-linear and can fit all sorts of crazy looking curves. The reason why this is true has to do with a combination of the "activation" functions that are used, as well as the layering effect of your hidden layers.

To be fair, if you extend linear regression to be polynomial regression, you can fit more complicated curves, but that has its own downsides. And while they are also related, linear regression and polynomial regression aren't - strictly speaking - the same thing (although they may both be special cases of the same general technique).

All of that may be over-simplifying a bit. If you really want a good explanation of both linear/logistic regression and ANN's and some explanation of how they relate and differ, I recommend Andrew Ng's ML courses on Coursera. Both the original one and the new DeepLearning.ai ones.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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