random.init.neuron: Initialize the neuron with random weigths and bias.
Description
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.
Usage
random.init.neuron(net.number.weights, neuron)
Arguments
net.number.weights
Number of bias and weight parameters of the neural network the neuron belongs to.
neuron
The neuron object.
Value
random.init.neuron returns the input neuron with bias and weights changed randomly.
encoding
latin1
Details
The values are assigned according to the suggestions of Haykin.
References
Simon Haykin. Neural Networks. A comprehensive foundation. 2nd Edition, pages 182, 183 and 184.