initw {snnR} | R Documentation |
Function to initialize the weights and biases in a neural network.
initw(nHidden, nvaibles)
nHidden |
(positive integer, 1 x h) matrix that indicates number of neurons and number layers of neural network. |
nvaibles |
(positive integer) number of parameters to be estimate including only weights and biases. |
A list containing initial values for weights and biases.