N
N
Nazar Tropanets2020-11-06 22:48:00
Neural networks
Nazar Tropanets, 2020-11-06 22:48:00

Why do we need activation functions and nonlinearity in neural networks?

Why do we need activation functions and nonlinearity in neural networks?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
notxleb, 2020-11-08
@notxleb

If we look at how a deep neural network works without activation functions, we get the following:
y \u003d W "W'Wx (W"-weights of the third layer, W'-weights of the second layer ...)
Since we do not have nonlinearity, then each layer is a simple linear transformation, and from lin. we know algebra AB=C, which means we can replace W "W'W with one matrix W *. That is, adding a new layer without an activation function does not give us anything.

X
xmoonlight, 2020-11-06
@xmoonlight

To ensure the stability of the result with different input parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question