...

/

A Three-Layer Example: Working on the Hidden Layer

A Three-Layer Example: Working on the Hidden Layer

Learn how to calculate the weights for the hidden layer and its output.

Output of the hidden layer

Let’s visualize the combined moderated inputs into the second hidden layer.

Press + to interact
Neural network with inputs to hidden layer
Neural network with inputs to hidden layer

So far, so good, but there’s more to do. We remember those nodes apply a sigmoid activation function to make the response to the signal more like those found in nature. So let’s do that:

Ohidden=sigmoid(Xhidden) O_\text{hidden} = \text{sigmoid}(X_\text{hidden})

The sigmoid function is applied to each element in XhiddenX_\text{hidden} to produce the matrix, which has the output of the middle hidden layer:

Ohidden=sigmoid[1.160.420.62 ...