I am trying to code a neural network using the Nguyen-Widrow algorithm for weight initialization. I am quite confused about this matter.
The Nguyen-Widrow algorithm says that at first we calculate the Beta value like:
Beta = 0.7 * ( p ^ ( 1/n ) ) )
with:
p = number of hidden units
n = number of input units
Do we need to count the bias node for n and p too? I mean if the total hidden nodes (without bias node) is 5 then value of p should be 6, is that correct? Or is it still 5?
Thank you