Description Usage Arguments Details Value
This function assigns indices for all weights and biases in the neural network.
1 | parameters(NN)
|
NN |
List that contains the structure of the neural network |
Bias indices are assigned from 1 to the maximum number of biases for a given layer. Then, weight indices start where bias indices end plus one until all weights are assigned an indice. The number of weights for a given layer is the number of units in the previous layer times the number of units in the current one.
For example, if there are 10 units in the previous layer and 50 in the current one, then there would be 50 biases and 500 weights in the current layer. The bias indices would be from 1 to 50 and weight IDs from 51 to 550.
NN with three new elements, each of size (number of layers -1) :
Weight indices for each layer
Bias indices for each layer
Combined weight and bias indices for each layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.