Provides random values to the neuron weights and bias so as to start with. It is usually called by the random.init.NeuralNet function during the construction of the neural object by the newff function.
random.init.MLPneuron(net.number.weights, neuron)
Number of bias and weight parameters of the neural network the neuron belongs to.
The neuron object.
random.init.MLPneuron returns the input neuron with bias and weights changed randomly.
The values are assigned according to the suggestions of Haykin.
Simon Haykin. Neural Networks -- a Comprehensive Foundation. Prentice Hall, New Jersey, 2nd edition, 1999. ISBN 0-13-273350-1.