Description Usage Arguments Value Examples
Initialize 3 layer fully connected neural network, also known as multilayer perceptron, setting biases to 0 and using the Xavier initialization method for weights.
1 | init_nn(num_inputs, num_hidden_1, num_hidden_2, num_outputs)
|
num_inputs |
dimension of inputs |
num_hidden_1 |
dimension of first hidden layer |
num_hidden_2 |
dimension of second hidden layer |
num_outputs |
dimension of output |
list containing weight and bias matrices in each layer of the network
1 | mlp_model <- init_nn(784, 100, 50, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.