2 ms·
Deep learning combines linear functions together, but the way in which they are combined is always nonlinear. If the way in which they were combined were linear
by WORLD_ENDS_SOON 5y ago
Deep learning combines linear functions together, but the way in which they are combined is always nonlinear. If the way in which they were combined were linear, the resulting function would also be linear (a linear combination of linear functions is linear), and you'd have linear regression. Specifically the final layer of a deep neural network is often linear but the nodes in middle layers are often Rectified Linear Units which have a nonlinear "max" function applied to a linear function. Without these "max" functions you'd be able to flatten all the layers into one. Other common nonlinear functions you'll find in a deep neural net are sigmoid functions like tanh. These functions are sometimes called "activation functions".
- Buttons840 5y agoYes, there is a non-linear function between each linear function. The alternating back and forth between linear and non-linear is important.